Run two simple Selenium tests in parallel on CI
Preconditions (4)
Step 1: Create two simple Selenium test functions that open https://example.com and check the page title
Step 2: Configure pytest to run tests in parallel using pytest-xdist with 2 workers
Step 3: Push the test code and pytest configuration to the CI repository
Step 4: Trigger the CI pipeline to run the tests
Step 5: Observe that both tests run at the same time (in parallel) in the CI logs
Step 6: Verify that both tests pass successfully
✅ Expected Result: Both Selenium tests run simultaneously in the CI environment and pass, confirming parallel execution works.