Skip to content

[Feature] Enable parallel execution for API tests via pytest-xdist#15

Merged
JunchenMeteor merged 16 commits into
JunchenMeteor:mainfrom
ConnorQi01:dev/v-peq/parallel_execution
Apr 28, 2026
Merged

[Feature] Enable parallel execution for API tests via pytest-xdist#15
JunchenMeteor merged 16 commits into
JunchenMeteor:mainfrom
ConnorQi01:dev/v-peq/parallel_execution

Conversation

@ConnorQi01

@ConnorQi01 ConnorQi01 commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Add -n auto to addopts in pytest.ini to enable parallel test execution for API tests using pytest-xdist (already in requirements.txt).

UI tests should be run with -n 0 to override parallel execution due to device exclusivity constraints.

Test Plan

  • Run pytest API_Automation/cases -v and verify tests execute in parallel
  • Run pytest UI_Automation/Tests -n 0 and verify serial execution

Closes #13

ConnorQi01 and others added 15 commits April 27, 2026 18:20
…ation

[Test] Replace hardcoded time.sleep with explicit waits in BasePage
@ConnorQi01 ConnorQi01 changed the title feat: enable parallel execution for API tests via pytest-xdist [Feature] Enable parallel execution for API tests via pytest-xdist Apr 28, 2026
@JunchenMeteor
JunchenMeteor merged commit eb688a1 into JunchenMeteor:main Apr 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Enable parallel execution for API tests via pytest-xdist

2 participants