Commit Graph

18320 Commits

Author SHA1 Message Date
Zach Bloomquist 152e828bbd fix(cli): filter CertVerifyProcBuiltin from stderr (#22342)
Co-authored-by: Rachel <rachel@cypress.io>
2022-06-17 19:10:05 +00:00
Zach Bloomquist b865fd4c2b fix(cli): don't include workspaces.nohoist in public NPM package (#22365) 2022-06-17 15:09:01 +00:00
kshastri 4319daa7f4 fix: cypress removes custom status text/reason phrase from http response (#22061) 2022-06-16 14:19:05 -04:00
Zach Bloomquist d01932bf75 fix: retry on EMFILE always, lint sync FS calls (#22175)
* fix: use graceful-fs always, warn in development on sync calls

* skip prop linting in some dirs

* eslint rules

* use AST-based lint rule instead

* comment

* ignore existsSync

* run without nextTick

* remove dev warning code

* fix order

* register TS first

* fix tests

* fix test

* cover new call site

* fix new test
2022-06-16 14:35:31 +10:00
Lachlan Miller e87c492479 chore: make spec migration screen text more generic (#22325)
* chore: make spec migration screen text more generic

* update language
2022-06-16 12:14:33 +10:00
Adam Stone 32ad438346 feat: Auto-focus and select file name for create new spec modal (#22284)
* feat: Auto-focus and select file name for create new spec modal

* feat: Add comment for regex

* feat: Remove comma; add new line

* feat: Remove unnecessary function

* feat: Remove unnecessary logic

* feat: Reference prop value rather than input ref value

* feat: Add component test for unhappy path

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-06-16 10:59:19 +10:00
Adam Stone 9a5a4b2a4c fix: Truncate spec directories and file names instead of wrapping (#22226) 2022-06-15 14:09:08 -04:00
Zach Bloomquist 61f19c0450 feat: build Cypress for linux-arm64 (#22252) 2022-06-15 16:22:10 +00:00
Zach Bloomquist e18b0d567e feat: build Cypress for darwin-arm64 (#20686) 2022-06-15 15:24:50 +00:00
Kukhyeon Heo ad7668e5e3 fix: make the file name in <BaseError> wrap anywhere. (#22271)
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-06-15 09:00:20 -05:00
Alejandro Estrada 2a276978de fix: handle cloud error/no internet error (#21526)
* feat: handle cloud error/no internet error

* Update error handling

* Add tests

* Fix TS

* Revert change

* fix: update gql error handler (#21542)

* fix: update gql error handler

* Add failing test

* Fix test

* Update with code review

* Update with code review

* Update packages/data-context/src/sources/CloudDataSource.ts

Co-authored-by: Tim Griesser <tgriesser10@gmail.com>

Co-authored-by: Tim Griesser <tgriesser10@gmail.com>

* Add tests

* Prevent showing toaster

* Upodate with feedback

Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
Co-authored-by: Mark Noonan <mark@cypress.io>
2022-06-14 13:28:57 -05:00
Lachlan Miller 380f4e7d60 chore: add component testing metadata to manifest fetch request (#22270) 2022-06-14 11:57:39 +10:00
github-actions[bot] a7b9026861 chore: Update Chrome (stable) to 102.0.5005.115 and Chrome (beta) to 103.0.5060.42 (#22212)
* chore: Update Chrome (beta) to 103.0.5060.42

* chore: Update Chrome (stable) to 102.0.5005.115 and Chrome (beta) to 103.0.5060.42

Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-06-14 10:37:07 +10:00
Bill Glesias a481dbb682 chore: document internal vite options (#21667)
* chore: document internal vite options

* try to make pertinant internal dev options more discoverable

* move vite internal references to contributing guide and rebuild references

* fix typo

* Update npm/vite-dev-server/README.md

* add enabling flag for cypress internal vite inspect

* update contributing guide to follow similar wording for internal vite envs
2022-06-13 16:07:18 -04:00
Zachary Williams 36d82f9a71 fix: remove unused system-test project (#22289) 2022-06-13 12:02:59 -05:00
Mike Plummer 474f026980 fix: Time out loading embed html for migration video, stub in e2e tests (#22165) 2022-06-13 12:00:23 -05:00
Ryan Manuel 9505edd007 chore: downgrade windows resource class to large (#22258) 2022-06-13 09:29:39 -05:00
Matt Henkes 6c9894b9e5 chore: update version (#22253) v10.1.0 2022-06-10 13:21:06 -05:00
mjhenkes 72e6b882bd Merge branch 'master' into develop 2022-06-10 11:14:18 -05:00
Tyler Biethman f8f2418a07 fix: Don't include project path with supportFile glob (#22222)
* fix: Don't glob project path in supportFile lookup

* Updating unit tests around supportFile 'isFolder'

* Adding unit test to validate the projectRoot isn't globbed

* Adding system test to validate successful run

* This is more accurate

* Updating snapshot to reflect now missing absolute path from the supportFile value

* Adding e2 launchpad test

Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-06-10 10:50:53 -05:00
Ryan Manuel 1e6192364f fix: restart Cypress server and browser on baseUrl change (#22154)
* fix: restart server on baseUrl change

* Rework how baseUrl works

* Refactor how we determine if we should ping the base url

* Fix test

* Update packages/launchpad/cypress/e2e/choose-a-browser.cy.ts

* Update packages/launchpad/cypress/e2e/choose-a-browser.cy.ts

Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-06-10 10:11:15 -05:00
Ryan Manuel 203758f708 fix: properly run multiple specs in run and headed mode on linux and windows in chrome (#22168)
* fix: properly run multiple specs in run and headed mode on linux and windows

* fix: properly run multiple specs in run and headed mode on linux and windows

* Update test

* Update test

* Fix issue with running headed in linux and windows

* Improve test

* Update packages/server/lib/browsers/browser-cri-client.ts

* PR comments

* PR comments

* Fix test failure due to refactor

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-06-10 09:38:06 -05:00
Ryan Manuel 600daef5cd fix: windows (#22234) 2022-06-10 09:04:43 -05:00
Adam Stone 85f002fa39 fix: AUT URL in runner header links to application URL (#22171)
* Add failing test

* Update AUT URL display to link

* fix: Fix header AUT URL truncation

* fix: Adjust line height so that lower-hanging characters don't get cut off
2022-06-10 16:31:07 +10:00
Adam Stone 7a0baf976b chore: Update Volar identifier for VSCode Marketplace (#22189)
* Update Volar identifier for VSCode Marketplace

* chore: Update Volar identifier for VSCode Marketplace

Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-06-10 16:09:29 +10:00
Bill Glesias 9b965c5e31 create cross origin serialization explainer to fully explain our serialization process (#22101)
* create cross origin serialization explainer to fully explain our serialization process

* Update packages/driver/src/util/serialization/README.md

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>

* Update packages/driver/src/util/serialization/README.md

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>

* Update packages/driver/src/util/serialization/README.md

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>

* Update packages/driver/src/util/serialization/README.md

Co-authored-by: Matt Schile <mschile@gmail.com>

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
Co-authored-by: Matt Schile <mschile@gmail.com>
2022-06-09 16:19:31 -04:00
Lachlan Miller abd986aa41 fix: support ESM projects using TypeScript with ts-node/esm (#22118)
* fix: support ESM projects using TypeScript with ts-node/esm

* better error handling

* fix test

* indentation

* register ts-node via --require hook

* be less aggressive with erroring

* update fix system tests

* remove obsolete test

* handle case of not using typescript

* replicate 9.x behavior for legacy plugins w/ ts-node

* make test project valid and adjust tests accordingly

* use ts-node/esm transpile only

* dummy

* extract util function

* merge in refactor using projectFixtureDirectory

* fix test
2022-06-09 21:20:26 +10:00
Zach Bloomquist fccce5dcb2 chore: skip windows canary check (#22197) 2022-06-09 02:10:32 +00:00
Kukhyeon Heo 406a19303b fix: Remove period in "learn more." button (#21935)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-06-08 15:40:58 +00:00
github-actions[bot] f9d9d38663 chore: Update Chrome (stable) to 102.0.5005.61 and Chrome (beta) to 103.0.5060.33 (#21623)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-06-08 15:39:50 +00:00
Mike Plummer 0298b97477 fix: Make spec row clickable across entire width (#22105)
* fix: Make spec row clickable across entire width

* Move click-sensitive row action wrapper to surround entire row
* Add styles to highlight spec icon on hocus to match Figma
* Small text highlight style change to match Figma

* Add missing data-cy selector

* Add tests for row expansion behaviors

* Fix directory row styling issues
2022-06-08 15:35:37 +10:00
Alejandro Estrada e5c1f91652 feat: show better error message if testing type is not configured (#22000)
* feat: show better error message if testing type is not configured

* Add tests

* Update tests

* Fix some tests

* Fix some tests

* Fix test

* Fix tests

* Update packages/errors/src/errors.ts

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>

* Update with code review

* Fix test

* Add on link

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2022-06-07 15:47:24 -05:00
Bill Glesias b24a77dd23 chore: update windows contributing guide to have users set default shell script to command prompt (#22149) 2022-06-07 11:32:22 -04:00
Lachlan Miller a264373df7 chore: do not ship source for app and launchpad in binary (#22033) 2022-06-07 10:47:19 +10:00
Zachary Williams e58ec7a688 fix: selector playground copy full command (#22097) 2022-06-06 17:37:59 -05:00
Zachary Williams a6fa9d02ba Merge remote-tracking branch 'origin/develop' 2022-06-06 15:10:03 -05:00
Zach Bloomquist e35b3b02c3 release 10.0.3 [skip ci] v10.0.3 2022-06-06 16:07:20 -04:00
Alejandro Estrada 91ba9c70d5 fix: watch only specs matching specPattern (#22067)
* fix: watch only specs matching specPattern

* Fix test for _makeSpecWatcher

* Fixes to accommodate chokidar weirdness, better tests

* Add extra safe to ignore node_modules

Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-06-06 13:31:07 -04:00
Tim Griesser 333e25d576 fix: #22081 Cypress crashing behind proxy (#22099) 2022-06-06 12:35:57 -04:00
Swaana f987981d46 fix: prevent Cypress from crashing when getting machine-id fails (#22119) 2022-06-06 12:35:16 -04:00
Rachel 64ea96b1e0 fix: For E2E scaffolded blank specs, scaffold a spec that passes instead of fails (#22070) 2022-06-06 12:16:47 -04:00
Zach Bloomquist 2cbf17baac docs(guides): update release-process (#22098)
* docs(guides): update release-process

* update script
2022-06-06 15:26:34 +00:00
Bill Glesias e18819d6a0 chore: remove old runIsolated in the runner, as well as clean up old runner related dependencies (#21638) 2022-06-06 11:16:15 -04:00
Vinicius Pietscher e2243ee733 fix: capitalize 'cypress' (#21798) (#22116) 2022-06-06 21:16:04 +10:00
Zachary Williams a8ed29ecbb fix: top nav browsers list scroll (#22094) 2022-06-03 16:51:23 -05:00
Rachel 81f1b421ef fix: only show active router link styles on parent page (#22069) 2022-06-03 14:45:04 -04:00
Mike Plummer ce647c29df fix: Increase contrast on spec header items (#22045)
Co-authored-by: Mark Noonan <mark@cypress.io>
2022-06-03 10:26:21 -05:00
Zachary Williams 1a8491e221 Merge pull request #22068 from cypress-io/develop 2022-06-02 18:57:16 -05:00
Zach Bloomquist 9407d07cdb release 10.0.2 [skip ci] v10.0.2 2022-06-02 19:22:54 -04:00
Tim Griesser 309c31f899 fix: changes to correct typescript detection behavior (#22058)
* fix: changes to correct typescript detection behavior, fixes #22034

Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-06-02 17:23:58 -04:00