-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
fix: prevent navigating to about:blank #30864
Merged
Merged
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
cypress Run #59922
Run Properties:
|
Project |
cypress
|
Branch Review |
mschile/about_blank_with_retry
|
Run status |
Passed #59922
|
Run duration | 11m 17s |
Commit |
71d3165dae: Merge branch 'develop' into mschile/about_blank_with_retry
|
Committer | Jennifer Shehane |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
1
|
Skipped |
0
|
Passing |
667
|
View all changes introduced in this branch ↗︎ |
UI Coverage
38.03%
|
|
---|---|
Untested elements |
132
|
Tested elements |
81
|
Accessibility
92.03%
|
|
---|---|
Failed rules |
3 critical
7 serious
1 moderate
1 minor
|
Failed elements |
538
|
AtofStryker
approved these changes
Jan 13, 2025
cacieprins
approved these changes
Jan 13, 2025
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.
Additional details
If test isolation is disabled and the last test fails and then retries, we were incorrectly navigating to
about:blank
due to an incorrect calculation ofisLastTestThatWillRunInSuite
that was not accounting for retries. In order to resolve this issue, we are now accounting for retries by checkingtest.final
.Steps to test
Run a spec in
run
mode with test isolation off where the last test in the spec fails and then retries and verify we do not navigate toabout:blank
in-between the retries.How has the user experience changed?
Before:
After:
PR Tasks
cypress-documentation
?type definitions
?