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

fix: Windows e2e project scaffolding issues #19938

Merged
merged 7 commits into from
Jan 28, 2022

Conversation

flotwig
Copy link
Contributor

@flotwig flotwig commented Jan 27, 2022

User facing changelog

Additional details

  • Fixes an issue where scaffolding would return a GraphQL scaffoldIntegration error on Windows due to the fs.stat call. This is unneeded since fs.mkdirp already handles the case where a directory exists by yielding undefined.
  • Fixes an issue where the spec list shown after scaffolding was missing directory entries, because the buildSpecTree logic only knows / as a separator. Updated to use either / or \ as a separator.
  • There is still an issue with displaying the spec list - specPattern does not find files on Windows. Fix coming later^TM
  • Removed some dead code.

How has the user experience changed?

PR Tasks

  • [no] Have tests been added/updated?
    • Windows app e2e tests cover this, but due to other failures are not on in CI yet. This PR brings the failure count down to 6.
  • [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 Jan 27, 2022

Thanks for taking the time to open a PR!

@cypress
Copy link

cypress bot commented Jan 27, 2022



Test summary

17933 0 216 0Flakiness 1


Run details

Project cypress
Status Passed
Commit 987f5dc
Started Jan 27, 2022 11:13 PM
Ended Jan 27, 2022 11:25 PM
Duration 11:59 💡
OS Linux Debian - 10.10
Browser Multiple

View run in Cypress Dashboard ➡️


Flakiness

cypress/e2e/commands/net_stubbing.cy.ts Flakiness
1 network stubbing > waiting and aliasing > can timeout waiting on a single request using "alias.request"

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

@flotwig flotwig marked this pull request as ready for review January 27, 2022 22:23
Copy link
Contributor

@ZachJW34 ZachJW34 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on Mac and Windows, works great!

@flotwig flotwig merged commit b12e3c6 into 10.0-release Jan 28, 2022
@flotwig flotwig deleted the unify-889-fix-windows-e2e-scaffolding branch January 28, 2022 16:10
tgriesser added a commit that referenced this pull request Jan 31, 2022
* 10.0-release: (25 commits)
  fix(unify): improve dev server config ergonomics (#19957)
  feat: add spec pattern modal (#19801)
  fix: Windows e2e project scaffolding issues (#19938)
  feat: update @cypress/schematic to use proper e2e config for 10.0.0 (#19827)
  fix: correctly migrate projects with custom integration folder (#19929)
  fix: component spec creation with spec pattern (#19862)
  fix: missed committing yarn.lock after merge conflict
  fix: correct reference branch / commitSha in performance-reporter (#19941)
  feat: update navbar UI per Figma (#19926)
  fix: seed examples files when no e2e directory is created (#19768)
  chore: remove windy lightBlue warning
  test: component test updates (#19925)
  feat: Focus browser from select browser screen and on dashboard login (#19842)
  test: Honeycomb system-test reporter (#19855)
  fix(deps): update dependency engine.io to v5.2.1 [security]
  feat: Retain fileName when working with aliased fixtures and files (#19820)
  Update release-process.md
  Update release-process.md
  Update release-process.md
  Update release-process.md
  ...
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.

3 participants