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

test: fix flaky cy-in-cy selector validity test #21360

Merged
merged 7 commits into from
May 12, 2022

Conversation

ZachJW34
Copy link
Contributor

@ZachJW34 ZachJW34 commented May 5, 2022

User facing changelog

NA

Additional details

The resets selector playground validity when selecting element with playground selector in ${testingType} test was flaky. The test is trying to use the selector playground before the inner test is done running. This changes the test so that a simple test is being chosen and we are verifying the test passes before using the selector playground.

How has the user experience changed?

NA

PR Tasks

  • Have tests been added/updated?
  • [na] Has the original issue (or this PR, if no issue exists) been tagged with a release in ZenHub? (user-facing changes only)
  • [na] Has a PR for user-facing changes been opened in cypress-documentation?
  • [na] Have API changes been updated in the type definitions?
  • [na] Have new configuration options been added to the cypress.schema.json?

@cypress-bot
Copy link
Contributor

cypress-bot bot commented May 5, 2022

Thanks for taking the time to open a PR!

@cypress
Copy link

cypress bot commented May 5, 2022



Test summary

9287 2 109 0Flakiness 4


Run details

Project cypress
Status Failed
Commit 3896538
Started May 12, 2022 10:47 PM
Ended May 12, 2022 11:10 PM
Duration 23:04 💡
OS Linux Debian - 10.10
Browser Electron 94

View run in Cypress Dashboard ➡️


Failures

Run group: 5x-driver-electron (Linux, Electron )
cypress/proxy-logging.cy.ts Failed
1 Proxy Logging > request logging > xhr log has response body/status code when xhr response is logged first
Run group: 5x-driver-electron-experimentalSessionAndOrigin (Linux, Electron )
commands/files.cy.js Failed
1 ... > has implicit existence assertion, retries and throws a specific error when file does not exist for null encoding

Flakiness

waiting.cy.ts Flakiness
1 cy.origin waiting > #consoleProps > .wait()
network_requests.cy.ts Flakiness
1 cy.origin network requests > #consoleProps > .request()
querying_shadow.cy.ts Flakiness
1 cy.origin shadow dom > #consoleProps > .shadow()
files.cy.ts Flakiness
1 cy.origin files > #consoleProps > .readFile()

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@ZachJW34 ZachJW34 requested a review from BlueWinds May 6, 2022 13:49
@flotwig flotwig requested a review from tbiethman May 6, 2022 15:39
@ZachJW34 ZachJW34 merged commit 3a3aa10 into 10.0-release May 12, 2022
@ZachJW34 ZachJW34 deleted the zachw/fix-flaky-cy-in-cy-test branch May 12, 2022 23:45
tgriesser added a commit that referenced this pull request May 13, 2022
* 10.0-release: (22 commits)
  fix: migrate multiples projects when in global mode (#21458)
  test: fix flaky cy-in-cy selector validity test (#21360)
  chore: remove unused codeGenGlobs (#21438)
  fix: use correct path for scaffolding spec on CT (#21411)
  fix: remove breaking options from testing type on migration (#21437)
  fix: test-recording instructions in Component Test mode (#21422)
  feat: distinguish app vs launchpad utm_source when using utm params (#21424)
  chore: update stubbed cloud types (#21451)
  chore: change to yarn registry
  fix(sessions): refactor flows, fix grouping bugs and align validation fail text (#21379)
  chore(sessions): more driver tests (#21378)
  chore: rename domain_fn to origin_fn (#21413)
  chore: release 9.6.1 (#21404)
  fix: ensure that proxy logs are updated after the xhr has actually completed (#21373)
  chore: Re-organize tests in assertions_spec.js (#21283)
  chore: Distribute tests to desktop-gui containers. Make `desktop-gui` tests faster! (#21305)
  chore(sessions): add additional tests (#21338)
  fix: Allow submit button to be outside of the form for implicit submission (#21279)
  fix(launcher): support Firefox as a snap (#21328)
  chore(sessions): break out sessions manager code and add unit tests (#21268)
  ...
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.

4 participants