Commit Graph

34 Commits

Author SHA1 Message Date
Lachlan Miller 742f261a1b fix(launchpad): correctly migrate projects settings config in plugins (#20509)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2022-03-11 13:04:06 -06:00
Alejandro Estrada 7636287eee fix: config migration when --config-file flag is set (#20470)
* fix: config migration when --config-file flag is set

* Fix/add tests

* Update migration for config migrations that already ocurred

* Fix TS, fix test

* Update comment

* Refactor code

* Update error, prevent clicking the project on topNav

* Fix TS

* Fix error - update error message

* Update test

* Refactor code / add test for legacy config

* Refactor code

* Update with feedback

* Update with code review
2022-03-09 17:11:39 -05:00
Barthélémy Ledoux 315d704f89 feat: have a copy button on firefox (#20491) 2022-03-08 15:00:50 -06:00
Tim Griesser 92eac2f67e feat: Error standardization (#20323)
* refactor: reworking client-side error shape

* feat: add the CodeFrame to baseerror

* consolidate baseError handling, type fixes

* Fix UNIFY-1164 w/ test cleanup to avoid intercepting

* fix types, cleanup based on review / Brian

* fix: imports / types / tests

* cleanup tests, fix TSError location, add reinitializeCypress mutation

* fix: show correct stack trace file name (#20410)

* Improve comments for regexes / TSError capture

* feat: Add codeframe to error, address PR comments

* update snapshot

* change codeframe impl, per Brian's request

* Attempt to fix test flake

Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Alejandro Estrada <estrada9166@hotmail.com>
2022-03-02 18:03:52 -05:00
Zachary Williams 7f8a810e3d fix(launchpad): scaffold correct config file (#20372) 2022-02-25 17:29:17 -06:00
Blue F e79fd64d54 feat: CLI config not supporting nested properties correctly (#20127)
* Support setting testingType specific config at root via cli args

* Properly merge CLI testing-type specific arguments

* Include CLI overrides when refreshing project config in dataContext

* Make TS happy

* Update config nesting to work without explicitly passed in testing type

* Fix types

* Fix types gooder

* Fix server unit test for config nesting

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-02-25 12:24:23 +10:00
Tim Griesser 47b1f38f62 Merge branch 'develop' into 10.0-release
* develop: (35 commits)
  fix(deps): update dependency url-parse to v1.5.6 [security] (#20270)
  chore: fix cache keys to include PLATFORM (#20279)
  chore: fix server performance flake (#20271)
  test(system-tests): support docker-based tests against built binary (#20250)
  chore: fix system-test-firefox screenshots_spec flake (#20268)
  chore(deps): update dependency fs-extra to v9 🌟 (#19939)
  fix: Wait for child process to be ready (#19792)
  fix: treat form-data bodies as binary (#20144)
  test: replace cypress-test-example-repos coverage + remove bump (#20186)
  fix(driver): update wrapErr to ignore number and boolean values (#20172)
  release 9.5.0 [skip ci]
  chore: Update Chrome (stable) to 98.0.4758.102 (#20192)
  chore: enable volar.takeOverMode
  Add span names, merge develop
  fix: Update `.type(' ')` to not emit clicks when the keyup event has been prevented (#20156)
  test: remove redundant "other projects" CI jobs (#20133)
  chore(driver): move cy.focused and cy.root into their own files (#20054)
  Move sending root event to own script
  chore: release @cypress/vue-v3.1.1
  chore: release @cypress/react-v5.12.3
  ...
2022-02-22 12:40:07 -05:00
Tim Griesser c63fb1b2ae fix: remove todo for adding warning, add comment 2022-02-22 11:47:52 -05:00
Tim Griesser 7e8370a2a5 working through mapping error cases from develop 2022-02-21 17:07:46 -05:00
Brian Mann da48210216 Merge branch '10.0-release' into 10.0-release-merge-4b50f9ee 2022-02-18 15:11:59 -05:00
Tim Griesser 61e9f00517 fix: cleanup a few more tests/snapshot errors 2022-02-17 10:43:22 -05:00
Tim Griesser 6727893b1e fix: additional cleanup of errors following merge 2022-02-17 09:59:30 -05:00
Tim Griesser 9307dc01ec fix: types for config changes 2022-02-16 16:14:27 -05:00
Tim Griesser 6279a7dd10 wip: type fixes & changes after merge 2022-02-14 08:20:11 -05:00
Barthélémy Ledoux 759449c440 feat: detect component testing env (#20002)
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-02-11 15:38:09 -06:00
Alejandro Estrada 5c5f5d5853 feat: reconfigure project from testing type card (#20109) 2022-02-11 09:31:28 -06:00
Tim Griesser 6b539b05f5 feat: graphql over websockets (#20108)
* feat: graphql over websockets

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-02-10 16:28:37 -05:00
Alejandro Estrada 5d52758d82 feat: validate specPattern root level (#19980)
* feat: validate specPattern root level

* Fix/add tests

* Fix test

* Update specExcludePattern

* Fix tests

* Fix/add tests

* Fix/add tests

* Fix tests

* Rename specExcludePattern to excludeSpecPattern

* Fix tests
2022-02-04 10:48:10 -05:00
Barthélémy Ledoux 11179609a0 feat: detect package manager in wizard (#19960) 2022-01-31 10:38:06 -06:00
Alejandro Estrada 1f3f548e79 feat: select e2e scaffold language (#19904)
* feat: select e2e scaffold language

* Use correct file language

* Add tests

* Update test
2022-01-26 22:04:24 -05:00
Alejandro Estrada 8f32960ef8 fix: scaffold correct config file (#19776)
* fix: scaffold correct config file

* update setConfigFilePath

* Update test

* Update with code review

* remove default supportFile

* Update supportFile default value

* Add test

* Fix identation

* Update with feedback

* fix english pluralization

Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2022-01-24 10:23:44 -05:00
Barthélémy Ledoux b5cafecef0 fix: wire up the step field and other migration fixes (#19806) 2022-01-21 15:26:38 -07:00
Alejandro Estrada 4a99a72c11 feat: add browsers to resolved config (#19764)
* feat: Add browsers to resolved config

* Add test

* Update with feedback
2022-01-19 18:49:56 -05:00
Tim Griesser f750aea088 refactor: namespace & consolidate launchpad / graphql routing (#19746)
* refactor: namespace & consolidate launchpad / graphql routing
* fix: ensure vite dev flow works
* fix: proper tslint, fix race condition
2022-01-19 17:43:42 -05:00
Emily Rohrbough 73ad6d4de8 fix(data-context): add error stack trace to error (#19770) 2022-01-19 13:04:23 -06:00
Emily Rohrbough 9e4c04d720 test(launchpad): add e2e tests for Project Setup - Round 2 (#19580)
Co-authored-by: Tyler Biethman <tbiethman@gmail.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-01-18 15:27:33 -06:00
Tim Griesser a9d0bc952b fix: various lifecycle issues, followup to #19572 (#19683)
* fix: various lifecycle issues, followup to #19572
2022-01-12 17:45:46 -05:00
Tim Griesser bfc032a2d4 fix: open browser at correct time during lifecycle (#19572) 2022-01-12 13:41:25 -05:00
Zachary Williams f953c59e9a feat: add spec watcher to data-context (#19583)
* feat: add spec watcher to data-context

* fix typo

* attempt to fix flake

* fix path.join

* if this fixes it I'm going to be upset

* remove unused code

* address comments
2022-01-10 12:30:38 +10:00
Barthélémy Ledoux 1773001c54 fix: dev-server types (#19576) 2022-01-07 14:41:36 -06:00
Lachlan Miller a1906e6996 chore: fix temporarily skipped specs on 10.0-release (#19611)
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-01-07 10:47:36 -07:00
Lachlan Miller 2be8e16d4c freeze ipc 2022-01-07 13:41:35 +10:00
Alejandro Estrada 0366d4fa89 feat: use supportFile by testingType (#19364)
* feat: use supportFile by testingType

* Fix defaults

* Start renaming files, and updating system-tests

* Fix some tests

* Fix some tests

* Fix more tests

* Try to fix CI

* Fix more tests

* Fix some tests

* Revert changes

* Revert supportFile defaultValue

* Fix some tests

* Fix some tests

* Fix some tests

* Fix some tests

* Update supportFile example

* Update snapshots

* Remove scaffold support

* Handle config errors

* Remove scaffold

* Fix tests

* Fix test

* Update test

* Fix test

* Update supportFile template

* Fix template
2022-01-05 13:37:44 -05:00
Tim Griesser 4626f7481c feat: ProjectLifecycleManager & general launchpad cleanup (#19347)
See #19347 for full summary

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: estrada9166 <estrada9166@hotmail.com>
Co-authored-by: Alejandro Estrada <estrada9166@gmail.com>
Co-authored-by: Jess <jess@jessicasachs.io>
2021-12-21 21:28:44 -05:00