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

feat(app): remove __vite__ route and default to unified runner #18909

Merged
merged 5 commits into from
Nov 15, 2021

Conversation

lmiller1990
Copy link
Contributor

@lmiller1990 lmiller1990 commented Nov 15, 2021

It's time to say hello to the future. If you run yarn dev with LAUNCHPAD=1, we serve the unified runner. No more __vite__ route.

This also fixes a bug where we did not correctly serve the statically build packages/app. So now you can do cd packages/driver && LAUNCHPAD=1 yarn cypress:open and it will work as expected (open mode with unified app, but not using a dev server - this is how things will work in production).

Testing

  • pull this
  • yarn dev
  • launch any project that are set up with cypress.config.ts. Good ones are app, launchpad, driver
  • observe CT and E2E are working (no need to navigate to __vite__; no such route exists on the front-end)

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Nov 15, 2021

Thanks for taking the time to open a PR!

@cypress
Copy link

cypress bot commented Nov 15, 2021



Test summary

18646 3 216 7Flakiness 3


Run details

Project cypress
Status Failed
Commit 9f98b13
Started Nov 15, 2021 3:16 PM
Ended Nov 15, 2021 3:28 PM
Duration 12:28 💡
OS Linux Debian - 10.9
Browser Multiple

View run in Cypress Dashboard ➡️


Failures

Run group: 5x-driver-electron (Linux, Electron )
commands/assertions_spec.js Failed
1 ... > rejects any element not in the document
commands/net_stubbing_spec.ts Failed
1 network stubbing > intercepting request > should delay the same amount on every response
Run group: 2x-desktop-gui (Linux, Electron )
settings_spec.js Failed
1 Settings > file preference panel > loads preferred editor and available editors

Flakiness

commands/net_stubbing_spec.ts Flakiness
1 network stubbing > waiting and aliasing > can timeout waiting on a single request using "alias.request"
2 network stubbing > waiting and aliasing > can timeout incrementally waiting on requests
cypress/proxy-logging-spec.ts Flakiness
1 Proxy Logging > request logging > xhr log has response body/status code

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

@lmiller1990 lmiller1990 requested review from a team and tgriesser November 15, 2021 05:03
@lmiller1990 lmiller1990 marked this pull request as ready for review November 15, 2021 05:11
@lmiller1990 lmiller1990 requested a review from a team as a code owner November 15, 2021 05:11
@lmiller1990 lmiller1990 requested review from jennifer-shehane and removed request for a team and jennifer-shehane November 15, 2021 05:11
Copy link
Contributor

@marktnoonan marktnoonan left a comment

Choose a reason for hiding this comment

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

Went through the test steps. All works great. Switching between browsers with the actual new UI is awesome!

`${clientRoute}assets/*`,
`${clientRoute}shiki/*`,
], (req, res) => {
debug('proxying static assets %s, params[0] %s', req.url, req.params[0])
Copy link
Contributor

Choose a reason for hiding this comment

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

Love this

Copy link
Member

@tgriesser tgriesser left a comment

Choose a reason for hiding this comment

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

Nice! Let's ship it

@tgriesser tgriesser self-requested a review November 15, 2021 17:24
@tgriesser tgriesser merged commit ded63ad into unified-desktop-gui Nov 15, 2021
@tgriesser tgriesser deleted the lmiller1990/default-to-unified-runner branch November 15, 2021 17:32
tgriesser added a commit that referenced this pull request Nov 17, 2021
* 10.0-release:
  feat: improve vite DX (#18937)
  feat: Use plugins on config files (#18798)
  BREAKING CHANGE: trigger major bump
  BREAKING CHANGE: trigger major bump
  fix: fix cypress/package.json crasher
  fix(breaking): change circle.yml to release binary
  fix: build-prod-ui deps before build-prod packages
  feat: implement spec list tree (#18901)
  chore: adding 10.0-release to the circle.yml build script (#18926)
  feat(app): remove __vite__ route and default to unified runner (#18909)
  fix: app layout + specs list review (#18862)
  feat(app): show previous versions (#18838)
  feat: scaffold integration files in app (#18763)
  feat: add footer to the settings (#18867)
  fix: Exit when both --e2e and --component flags are passed in (#18855)
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