-
Notifications
You must be signed in to change notification settings - Fork 2
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
WDIO - Spec retry + minor tweaks + tests #21
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Ma11hewThomas , I added some tests, please have a look |
Thanks @unickq! I'm really happy with the changes overall, can you take a look at the pending review for flaky tests logic and fix the failing tests in the pipeline - I'll then be happy to merge Thanks for contributing! |
@Ma11hewThomas , can you enable runs of Actions for forked PRs? |
81d57c6
to
5a2e361
Compare
9b5efcd
to
78ec03d
Compare
78ec03d
to
5285053
Compare
I'll reopen it later if I make it work :( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to improve the testing setup and enhance the reporting functionality. The most important changes include updating the Node.js version, switching from Jest to Vitest for testing, and enhancing the
generate-report
module to include debug options and handle previous reports.Improvements to testing setup:
.github/workflows/main.yaml
: Updated to use Node.js 22.x and added steps to run tests and publish test reports.package.json
: Switched from Jest to Vitest for testing and added a new script for continuous integration testing. [1] [2]Enhancements to reporting functionality:
src/generate-report.ts
: Added adebug
option to theReporterConfigOptions
interface, included logic to read and handle previous reports, and improved the handling of test retries and flaky tests. [1] [2] [3] [4] [5] [6] [7]Other changes:
.eslintrc.js
: Removedtest/
from the ignore patterns.CONTRIBUTING.md
: Fixed a typo in the contribution guidelines.tests/__snapshots__/basic.test.ts.snap
: Added new snapshot tests for Vitest.Or