Overview
Dependencies ensure tests run in the correct sequence, maintain proper state management, and handle cleanup operations effectively.Dependencies are only contained within a Test Suite. Tests in different suites cannot have dependency relationships.
Types of Dependencies
Parent Dependencies
Parent dependencies ensure tests run sequentially, where child tests only run if the parent test passes.How Parent Dependencies work:
- Tests run in the order specified by the dependency arrows
- Each test can only have one parent
- If a test fails, subsequent tests will not run (except for teardown tests)
- Each test must complete before the next one begins
- This ensures data consistency and proper state management between tests
Teardown Dependencies
Teardown dependencies are cleanup tests that always run regardless of whether their connected test passes or fails.How Teardown Dependencies work:
- Teardown tests can connect to multiple parent tests
- They always run regardless of connected test pass/fail status
- Ensures proper cleanup and resource management
- Prevents resource collision on subsequent test runs
How to Connect Dependencies
Navigate to Test Suite
Navigate to your Test Suites and select the suite where you want to add dependency relationships between tests.

Open Test Side Peek
Click on a test to open the test side peek window, which displays the test details.

Switch to Flow View
From Test Details, switch to the Flow View tab. This is where you configure test dependencies and teardown options.

Define your Objective
Determine which tests should have dependency relationships.For example, identify your parent test like “Add Items to Cart”, child tests such as “Complete Checkout” and “Add Second Item to Cart”, and your teardown test like “Clear Cart and Logout”.
Add Parent Dependency
Configure the parent-child relationship between tests to control execution order.
Open Child Test
Open the test you want to add as your child. For example, open “Complete Checkout” test.

Select Parent Test
Click “Add Dependency” and select the test you want to make your parent.For example, select “Add Items to Cart” from the dropdown.

Mark Teardown Test
Configure a test to function as a teardown test that always runs regardless of other test results.
Open Teardown Test
Open the test you want to designate as the teardown test. For example, open “Clear Cart and Logout” test.

Connect Teardown to Parent
Link your teardown test to the tests that need cleanup operations.
Open Parent Test and access Flow View
Navigate to the test you want this teardown test to connect to. For example, open “Add Items to Cart” test. Switch to the Flow View tab within the test side peek window.

Add Teardown Connection
Click the dropdown menu for “Add a Teardown Test” and select your designated teardown test from the list.
Connection to Snoozed Tests
Snoozed tests are temporarily disabled tests that won’t run in your test suite. When you snooze a test that has dependencies:- Child tests dependent on the snoozed test will not run
- The entire dependency chain below the snoozed test is paused
- This prevents failures from tests that depend on setup from the snoozed test



