> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qa.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Tests and Results

> Scenarios are groups of test cases that belong together

## Scenarios

Scenarios are groups of test cases that belong together. They are best organized around user flows, such as:

* Login
* Product Search
* Add to shopping cart
* Checkout
* Notification Settings

Each scenario should optimally include both positive and negative test cases. For example, a "Checkout Process" scenario might include:

* Successful purchase with valid payment details
* Order completion with fedex shipping
* Payment attempt with expired credit card (negative case)
* Checkout with empty cart (negative case)

This structure helps ensure comprehensive testing of each user flow, including both expected successes and potential failure points.

## Tests and Test Runs

Every time a test run is triggered, we run the selected scenarios. The result is a test run with one or more test cases in it.

## Filtering and Searching Results

When viewing test run results, you can quickly find specific tests using filters and search:

* **Filter by result** - Show only PASSED, FAILED, or SKIPPED tests
* **Filter by status** - Filter tests by execution state (INITIATED, RUNNING, COMPLETED, ERROR, CANCELLED)
* **Search by name** - Find specific tests using the search box
* **Filter by owner** - Show only tests you own with the "Owned by me" filter. See [Ownership](https://docs.qa.tech/core-concepts/ownership.md)

> [!NOTE]
>
> **Result vs. Status**: A test's *result* is the outcome after completion
> (PASSED/FAILED/SKIPPED), while *status* tracks the execution state. For
> example, a test can have STATUS=COMPLETED with RESULT=FAILED.

All filters persist in the URL, making it easy to share specific views with your team.

## Related documentation

* [Test Plans](https://docs.qa.tech/core-concepts/test-plans.md) - Group test cases and run them together
* [Creating Tests](https://docs.qa.tech/best-practices/creating-tests.md) - Write test cases the AI agent can run reliably
* [How to review test results](https://docs.qa.tech/best-practices/test-results.md) - Review results at each stage of your workflow


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.