Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dependency management to GUI tests #8015

Merged
merged 1 commit into from
May 1, 2024
Merged

Conversation

drew2a
Copy link
Contributor

@drew2a drew2a commented Apr 29, 2024

Introduced pytest-dependency and pytest-order packages to manage dependencies between GUI tests. This allows for more controlled execution of test cases, ensuring that certain tests run before others. The test_downloads function is now marked as a dependency for other related test functions, enforcing the order in which they are executed.

Fixes #8010

Refs:

@drew2a drew2a marked this pull request as ready for review April 29, 2024 14:00
@drew2a drew2a requested review from a team, xoriole and kozlovsky and removed request for a team April 29, 2024 14:00
Copy link
Contributor

@xoriole xoriole left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

Introduced pytest-dependency and pytest-order packages to manage dependencies between GUI tests. This allows for more controlled execution of test cases, ensuring that certain tests run before others. The 'test_downloads' function is now marked as a dependency for other related test functions, enforcing the order in which they are executed.
@drew2a drew2a merged commit 202fc35 into Tribler:main May 1, 2024
20 checks passed
@drew2a drew2a deleted the fix/8010 branch May 1, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

GUI tests are order dependent
3 participants