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

build: fix dev process on windows #19401

Merged
merged 8 commits into from
Dec 20, 2021

Conversation

elevatebart
Copy link
Contributor

No description provided.

@elevatebart elevatebart mentioned this pull request Dec 16, 2021
5 tasks
*/
export function winSpawn (command: string): string {
return `${(command).replace(/\//g, '\\')}${isWin ? '.cmd' : ''}`
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This seems like a strange name since it works on *nix and Windows

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree universalSpawn woudl be better

@cypress
Copy link

cypress bot commented Dec 16, 2021



Test summary

4262 0 51 0Flakiness 0


Run details

Project cypress
Status Passed
Commit 230a510
Started Dec 20, 2021 9:53 PM
Ended Dec 20, 2021 10:05 PM
Duration 12:09 💡
OS Linux Debian - 10.10
Browser Electron 94

View run in Cypress Dashboard ➡️


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

@elevatebart
Copy link
Contributor Author

@modern-sapien see this one

Copy link
Contributor

@lmiller1990 lmiller1990 left a comment

Choose a reason for hiding this comment

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

just confirming - does the linux/macOS still work after this change? did you test that, too?

@elevatebart
Copy link
Contributor Author

@lmiller1990 I checked macos. Linux should be checked by CI but I cannot vouch for the development environment.

DO you think it is worth dusting off the old docker?

@lmiller1990
Copy link
Contributor

Should be good, macOS and linux are the same for / in paths.

@lmiller1990 lmiller1990 merged commit 9058e2f into 10.0-release Dec 20, 2021
@lmiller1990 lmiller1990 deleted the elevatebart/build/dev-windows branch December 20, 2021 22:58
tgriesser added a commit that referenced this pull request Dec 21, 2021
…ert-with-stack

* tgriesser/10.0-release/refactor-lifecycle: (50 commits)
  Remove unused test file
  update task spec to use correct projectRoot
  update
  Fix test
  Fix test
  Fix tests
  update tests
  fix test
  correct config path
  Fix TS
  resolve conflicts
  Fixing component & e2e tests
  build: fix dev process on windows (#19401)
  fix: `cy.contains()` ignores `<style>` and `<script>` without removing them. (#19424)
  Fix some tests
  chore: Fix the broken codeowners automation (#19431)
  chore: add types for Cypress.session.clearAllSavedSessions (#19412)
  fix: No unnecessary snapshotting (#19311)
  chore: Remove pkg/driver @ts-nocheck part 1 (#19353)
  fix: add CYPRESS_VERIFY_TIMEOUT param and a test for it (#19282)
  ...
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