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

[SUBS] Update currents to use playwrights fully parallel mode when possible #227

Open
elvijsTDL opened this issue Oct 30, 2023 · 0 comments
Assignees
Labels
Type: Testing Testing cases or harness improvements

Comments

@elvijsTDL
Copy link
Contributor

As the avarage run duration is starting to creep to about 20-30 minutes I decided to increase the current parallelization to lower test run times
Screenshot 2023-10-30 at 16 28 05
Playwright by default parallelizes tests per file ( it does not take into account the total test count , just runs each file on a seperate worker) , to enable splitting the bigger test files and running each test in parallel from a single file fullyParallel mode has to be enabled which is currently not supported by Currents

This results into the test run running as expected , but most of the results get overwritten
Screenshot 2023-10-30 at 16 21 17
About 80 test cases were run in this workflow , only 20 are saved in currents because the playwright shards overwrite each other
Screenshot 2023-10-30 at 16 21 49

Currents support team said that this functionality should be done in 2-3 weeks, but for now as a work around I will be splitting each of the test files into smaller files so they don't clash together and overrwrite each other , once the feature is released I will revert to the file structure which more closely represents page object model
Screenshot 2023-10-30 at 16 24 59

@elvijsTDL elvijsTDL added the Type: Testing Testing cases or harness improvements label Oct 30, 2023
@elvijsTDL elvijsTDL self-assigned this Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Testing Testing cases or harness improvements
Projects
None yet
Development

No branches or pull requests

1 participant