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

Reflect cypress 10 changes for getTotalSpecs #123

Conversation

dwentland24
Copy link
Contributor

@dwentland24 dwentland24 commented Jul 22, 2022

Cypress 10 updated its configuration structure. Refactored the part to get the total number of specs for the run. Now the reporter should supports cypress 10. I had no further issues within our test repository.

The changes resulted in not finishing launches if eg. autoMerge options was used. To finish the launch the current and total number of specs needs to be equal. Due to different naming and removed properties in the config of cypress 10 the number of total specs got calculated wrong.

Refactored the method and add some helper functions.
Also extend the unit tests.

May solve this issue: #116

@AmsterGet AmsterGet changed the base branch from master to develop July 29, 2022 13:44
@AmsterGet AmsterGet self-requested a review July 29, 2022 13:45
@AmsterGet
Copy link
Member

AmsterGet commented Aug 2, 2022

Hello @dwentland24 !
I see the small linter issue in the pipeline.
Could you please fix it?

@orgads
Copy link
Contributor

orgads commented Aug 28, 2022

@AmsterGet I pushed a revised version as #126

@AmsterGet
Copy link
Member

Closed in favor of #126

@AmsterGet AmsterGet closed this Sep 20, 2022
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.

None yet

3 participants