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: run-ct does not hang on windows anymore #16022

Merged
merged 3 commits into from
Apr 16, 2021
Merged

Conversation

elevatebart
Copy link
Contributor

@elevatebart elevatebart commented Apr 16, 2021

User facing changelog

Repaired the run-ct command on windows

Additional details

When opening each spec in the browser, the URL had both slash and backslash but the reg exp looking at the URL on the runner side only accounted for slashes.

I standardized the URLs to always use posix characters.
I checked most

How has the user experience changed?

On windows only: no more backslashes in the URL

PR Tasks

  • Have tests been added/updated?
  • Has the original issue or this PR been tagged with a release in ZenHub?

@elevatebart elevatebart requested a review from a team as a code owner April 16, 2021 02:24
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Apr 16, 2021

Thanks for taking the time to open a PR!

@elevatebart elevatebart requested review from chrisbreiding and kuceb and removed request for a team April 16, 2021 02:24
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.

I wonder why this wasn't an issue for e2e, only CT 🤔

No way to test this - I don't have a windows machine. I wonder if we can set up something on CI to do cy run-ct.

@cypress
Copy link

cypress bot commented Apr 16, 2021



Test summary

9493 0 111 3Flakiness 1


Run details

Project cypress
Status Passed
Commit 45b39c4
Started Apr 16, 2021 2:19 PM
Ended Apr 16, 2021 2:34 PM
Duration 15:15 💡
OS Linux Debian - 10.8
Browser Multiple

View run in Cypress Dashboard ➡️


Flakiness

cypress/integration/retries.ui.spec.js Flakiness
1 runner/cypress retries.ui.spec > opens attempt on each attempt failure for the screenshot, and closes after test passes

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 elevatebart changed the title fix: run-ct on windows fix: run-ct does not hang on windows anymore Apr 16, 2021
@elevatebart elevatebart merged commit 6c12a6c into develop Apr 16, 2021
tgriesser added a commit that referenced this pull request Apr 19, 2021
* develop:
  fix flaky e2e record passes test (#16043)
  chore: switch lolex to new name @sinonjs/fake-timers (#15595)
  add pwa example (#15970)
  fix starting cdp screencast when video:false (#15985)
  fix(deps): update dependency ansi_up to version 5.x 🌟 (#15440)
  fix: run-ct does not hang on windows anymore (#16022)
  docs: in vite-dev-server example don't require the config (#15866)
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Apr 26, 2021

Released in 7.2.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v7.2.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Apr 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[7.1.0][Component tests] Can't run test on Windows OS
2 participants