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

Wait for trailing events from cypress support file before ending spec #292

Merged

Conversation

ryanjduffy
Copy link
Contributor

Issue

Step events from cypress can sometimes be delayed such that they arrive after Cypress calls after:spec causing the metadata to be missing tests or steps.

Resolution

Add some retry logic to wait (in 250ms increments) until the count of steps stabilizes as an indicator that all the steps have arrived.

@ryanjduffy ryanjduffy requested review from jaril and hbenl December 16, 2023 01:08
@jaril jaril merged commit 8978a5c into main Dec 19, 2023
3 of 4 checks passed
@ryanjduffy ryanjduffy deleted the ryan/scs-1642-metabase-test-metadata-could-not-be-processed branch December 19, 2023 23:51
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.

2 participants