-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
chore: modify highlight selector to include frameId #27458
chore: modify highlight selector to include frameId #27458
Conversation
25 flaky tests on run #49440 ↗︎Details:
|
Test | Artifacts | |
---|---|---|
... > skips the setup steps when choosing component tests to run |
Test Replay
Output
Screenshots
|
e2e/origin/commands/traversal.cy.ts • 1 flaky test • 5x-driver-electron
Test | Artifacts | |
---|---|---|
cy.origin traversal > .children() |
Test Replay
Output
|
e2e/origin/dependencies.cy.jsx • 1 flaky test • 5x-driver-electron
Test | Artifacts | |
---|---|---|
cy.origin dependencies - jsx > works with a jsx file |
Test Replay
Output
|
cypress/cypress.cy.js • 3 flaky tests • 5x-driver-electron
Test | Artifacts | |
---|---|---|
... > correctly returns currentRetry |
Test Replay
Output
|
|
... > correctly returns currentRetry |
Test Replay
Output
|
|
... > correctly returns currentRetry |
Test Replay
Output
|
create-from-component.cy.ts • 1 flaky test • app-e2e
Test | Artifacts | |
---|---|---|
... > runs generated spec |
Test Replay
Output
Screenshots
|
The first 5 flaky specs are shown, see all 13 specs in Cypress Cloud.
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we write an automated test for this? I know testing snapshots has been historically somewhat flaky.
I had the src file open only 🤦🏻 . everything looks good |
* initial logic for unique frame selector * messy in progress * quick test cleanup, need to figure out stub for meta * update name * stub test metadata * revise key * clean up * debugging change * test for error * test jquery issue * type * revert * update config for test
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Update snapshot API to return
elementsToHighlight
, an array of objects containing the aselector
andframeId
.Additional details
Test replay needs the ability to handle actions/highlights within nested iframes. Currently we are only capturing the selector which is only relative to the AUT frame.
Steps to test
protocolEnabled: true
andnumTestsKeptInMemory: 0
either within cypress config or on a individual test runHow has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?