Commit Graph

1175 Commits

Author SHA1 Message Date
Tim Griesser 4a9d6831ba chore: system test tooling improvements (#20966)
* chore: fixture tooling improvements

* simplifying the imports of the @tooling/system-tests

* A bit of cleanup

* browser export path for fixture dirs
2022-04-07 15:32:51 -04:00
Mark Noonan 6f0c658c91 fix criImport stub 2022-04-05 17:38:56 -04:00
Mark Noonan 8039be1157 Merge branch 'develop' into marktnoonan/merge-develop-2022-4-5 2022-04-05 17:32:47 -04:00
Chris Breiding edf9c11a30 fix: Resend *.enable commands on CDP reconnect (#20916)
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-04-05 12:07:56 -04:00
Barthélémy Ledoux 8381efe262 fix: build mjs in the cli (#20889)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2022-04-04 17:58:56 -05:00
David Munechika 2e48f85be2 fix: --spec with glob incorrectly splits filename (#20848)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-04-04 11:47:02 -04:00
Ryan Manuel d5e48a3b47 Remove config.get 2022-03-31 17:27:14 -05:00
Ryan Manuel a52784a171 Merge remote-tracking branch 'origin/10.0-release' into ryanm/feat/refactor-config-loading
# Conflicts:
#	packages/launchpad/cypress/e2e/choose-a-browser.cy.ts
2022-03-31 15:18:30 -05:00
Ryan Manuel c7709e8f9e Merge remote-tracking branch 'origin/develop' into 10.0-release
# Conflicts:
#	circle.yml
#	packages/server/lib/browsers/cdp_automation.ts
#	packages/server/lib/browsers/cri-client.ts
#	packages/server/test/unit/browsers/cri-client_spec.ts
2022-03-31 09:42:40 -05:00
Ryan Manuel 0022d6770d Add test for migration scenario 2022-03-29 22:42:34 -05:00
Ryan Manuel 4913f54e4f Merge branch '10.0-release' into ryanm/feat/refactor-config-loading 2022-03-29 18:37:46 -05:00
Chris Breiding 5950a45a9d chore: Refactor cri-client to use async/await (#20825) 2022-03-29 16:02:33 -04:00
Ryan Manuel ab0f42dd40 Other minor cleanup 2022-03-29 13:43:57 -05:00
Tim Griesser fe60920d36 fix: guard against infinite loop in unhandled exception handling (#20828) 2022-03-29 13:56:25 -04:00
Ryan Manuel 585ef73deb Fix more tests 2022-03-29 09:23:03 -05:00
Lachlan Miller 332e69b57c fix(launchpad): show more specific error when default supportFile is missing (#20792)
* fix: show correct error message for missing default supportFile

* add regression test for custom support file

* update error

* update tests

* fix test

* remove unused arg

* remove console.log
2022-03-29 13:21:33 +10:00
Ryan Manuel 18b52b2006 Fix integration tests 2022-03-28 21:37:57 -05:00
Ryan Manuel f4e4689431 Merge remote-tracking branch 'origin/10.0-release' into ryanm/feat/refactor-config-loading
# Conflicts:
#	packages/data-context/src/data/ProjectLifecycleManager.ts
2022-03-24 21:06:17 -05:00
Lachlan Miller f49ad641e6 chore: delete unsed code in runner, runner-shared, runner-ct (#20663)
* chore: delete a lot of old code

* remove unused code

* update test

* remove dep on cypress_runner for non proxied page

* change binary

* revert scss changes

* delete a lot of code

* update sass

* update jsx

* styles

* revert change

* dont destructure from window.mobx anymore

* update readmes

* revert change to mobx store

* Update packages/runner-shared/README.md

Co-authored-by: Emily Rohrbough  <emilyrohrbough@users.noreply.github.com>

* remove old code

* remove html webpack and copy webpack plugins from runner

* Apply suggestions from code review

Co-authored-by: Emily Rohrbough  <emilyrohrbough@users.noreply.github.com>

Co-authored-by: Emily Rohrbough  <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2022-03-25 10:24:05 +10:00
Barthélémy Ledoux 1de1aa5ccc feat: error when updating a 9.X value in 10.X in the pluginsFile (#20521) 2022-03-24 11:52:51 -05:00
Ryan Manuel 34d6207de6 Simplify state management when loading the config 2022-03-23 23:28:57 -05:00
Alejandro Estrada 61f7cfc592 fix: scope config to current testing type (#20677)
* fix: scope config to current testing type

* Revert options changes

* Fix some tests

* Fix more tests

* Fix more tests

* Fix more tests

* Update options

* Fix tests

* Fix tests

* Add comments

* Remove un-needed quote

* Fix test

* Fix tests
2022-03-23 19:06:36 -05:00
Zachary Williams 0577a52088 chore: update _cySkipYarnInstall and Fixture methods 2022-03-23 15:12:02 -05:00
Ryan Manuel 459b93cf43 Merge 10.0-release 2022-03-23 09:06:13 -05:00
Ryan Manuel 963f5ccacc feat: refactor config lifecycle 2022-03-22 14:54:07 -05:00
Zach Bloomquist f2100a8bba test(system-tests): support npm for test projects (#20664) 2022-03-22 13:28:21 +00:00
Zachary Williams 110f8ae02d fix: remove --config-file false references and update types (#20643)
* fix: remove --config-file false references and update types

* cleanup tests and types, catch errors when calling open

* fix test

* remove string check

* code quality feedback
2022-03-21 22:49:14 +10:00
BlueWinds 7dc27ad35e Merge remote-tracking branch 'origin/10.0-release' into UNIFY-1302-slowTestThreshold-by-testing-type 2022-03-15 15:42:50 -07:00
David Munechika 2f5f0de759 fix(unify): Use of experimentalStudio should throw a warning that it is removed (#20515)
* add terminal warning for experimental studio

* add to errors old

* add warnings to main

* debug onWarning callback

* show error in open mode

* update snapshot

* update tests

* validate config earlier

* remove from types and schema

* use on link

* refactor getError

* update types

Co-authored-by: Emily Rohrbough  <emilyrohrbough@users.noreply.github.com>

* add unit test for validateNoBreakingConfigLaunchpad

* fix types

* merge test files

* update types

Co-authored-by: Emily Rohrbough  <emilyrohrbough@users.noreply.github.com>
2022-03-15 11:30:15 +10:00
Emily Rohrbough efede20d9e chore(unification): remove pluginsFile references (#20560)
* remove pluginsFile references

* fix all tests relying on this system test

* fix broken tests

* fix more broken tests

* one more

* relative path

* pr feedbkac

* fix vite-dev-server broken configuration

* PR feedback on error message

* update errors snaphsot

* bring back error in gql

* fix snapshot

* fix snapshot.

* fix merge issues

Co-authored-by: ElevateBart <ledouxb@gmail.com>
2022-03-15 11:27:04 +10:00
BlueWinds 538c4aec24 Fix system test 2022-03-14 13:35:21 -07:00
Barthélémy Ledoux c4dec1efb9 refactor: make config package type-safe (#20590) 2022-03-14 15:32:11 -05:00
Zachary Williams 3a53814e16 fix: can't switch from electron browser to another (#20563)
Co-authored-by: Jess <jess@jessicasachs.io>
2022-03-14 11:42:20 -05:00
Tim Griesser e7efc10aed feat: Add initial structure to support GraphQL subscriptions (#20558)
* feat: rename __socket.io -> __socket, add __socket-graphql for graphql-ws

* fix: remove currentTestingType from Query type

* feat: add subscription to refresh when auth state changes

* Update packages/frontend-shared/src/gql-components/HeaderBarContent.vue

* PR review updates, add docs, tests for authChange subscription

* remove login/logout toApp/toLaunchpad calls

* remove login/logout/devChange toApp/toLaunchpad calls

* fix, getCtx lazily to fix proxy performance spec

* Fix, thanks @JessicaSachs

* test fixes, remove flash of missing content in wizard

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Jess <jess@jessicasachs.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-03-14 10:03:48 -04:00
Alejandro Estrada 5670344590 feat: remove testFiles reference (#20565)
* feat: remove testFiles reference

* feat: remove testFiles reference

* Fix test/TS
2022-03-11 12:02:37 +10:00
Mark Noonan bd7f0614d0 clean up formatting from merge 2022-03-09 00:04:08 +00:00
Mark Noonan bd3188e30a remove reference to global.root 2022-03-08 16:50:37 +00:00
Mark Noonan a7c8367794 resolve conflicts 2022-03-08 15:36:37 +00:00
David Munechika 047aefc4ba fix: error regression - unexpected ANSI color chars shown on Firefox warning message about chromeWebSecurity (#20512) 2022-03-08 08:32:16 -05:00
Lachlan Miller 78dc50ee87 do not use root in spec require 2022-03-07 11:57:38 +10:00
Lachlan Miller 76129e26af merge in develop to 10.0-release 2022-03-07 10:44:26 +10:00
Tyler Biethman 5a30e76819 fix: Prepare for Chrome's update for immutable document.domain (#20405)
* Setting response header for origin-agent-cluster for runner, iframes, and proxied requests that have domain injection

* Adding comments around header injection

* Adding unit tests
2022-03-04 10:46:23 -06:00
Zach Bloomquist f7e38c03e1 fix: set launchpad BrowserWindow minHeight to 400 (#20466)
* fix: set launchpad BrowserWindow minHeight to 400

* rename interactive-e2e to interactive
2022-03-04 14:36:33 +10: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
Tyler Biethman 659c527707 fix: Relaunching app when Focus is pressed after app has closed (#20352)
* fix: Updating Focus behavior to relaunch browser if runner has been closed

Also updating firefox executable used to ensure focus behavior continues working for firefox

* Adding unit tests
2022-02-24 15:51:45 -06:00
Mark Noonan 49d699336b chore(unify): always allow devtools in launchpad (#20298)
* no longer check if dev to show devtools

* match tests to new behavior

* remove 'withDevTools` option

* Revert "remove 'withDevTools` option"

This reverts commit ff4a8b96e4.

* rename withDevTools to withInteralDevTools

* coniditionally show internal dev tools in menu

* test nesting
2022-02-23 11:23:11 -05: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
Brian Mann 762c78f734 fix tests 2022-02-22 10:30:49 -05:00
Tim Griesser 808b2c7002 Merge branch '10.0-release' into 10.0-release-merge-4b50f9ee
* 10.0-release:
  feat: Updating reporter panel's default width to match new designs (#20231)
  feat(unify): Login error states (#20204)
2022-02-21 20:17:37 -05:00
Tim Griesser 032ec60d38 fix spec failures 2022-02-21 19:21:19 -05:00