Commit Graph

852 Commits

Author SHA1 Message Date
Barthélémy Ledoux 7bdf4d437e fix: add index.mjs to the published files of cli (#20884) 2022-04-01 10:19:19 -05:00
Zachary Williams 2c8e97df24 refactor: lift indexHtmlFile up to component, add validation (#20870) 2022-04-01 09:45:21 -05:00
Tyler Biethman 21fd2ebe9c Merge branch 'develop' of https://github.com/cypress-io/cypress into tbiethman/develop-into-10.0
# Conflicts:
#	packages/launcher/package.json
2022-03-29 09:46:08 -05:00
Amos Wong 6915b8e3de feat: support escaped dollar sign in CYPRESS_DOWNLOAD_PATH_TEMPLATE (#20698)
* refactor: break pathTemplate replace logic into multiple lines

* feat: support escape dollar sign in download path template

* feat: support CYPRESS_DOWNLOAD_PATH_TEMPLATE wrapped in quote

Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-03-24 13:21:19 -07: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
Zach Bloomquist 7aafae11fb Merge remote-tracking branch 'origin/develop' into 10.0-release-merge-3-24 2022-03-24 10:18:02 -04:00
Zachary Williams 0577a52088 chore: update _cySkipYarnInstall and Fixture methods 2022-03-23 15:12:02 -05:00
renovate[bot] d59b7bd009 fix(deps): update dependency minimist to v1.2.6 🌟 (#20756)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 11:50:35 -06:00
Daniel Friesen 60781575ff fix(types): invalid type on Cypress.Buffer (#20553)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-03-23 08:36:51 -06:00
Zachary Williams 3548007cb4 Merge remote-tracking branch 'origin/develop' into 10.0-release-merge-develop-03-22 2022-03-22 13:04:59 -05:00
Emily Rohrbough 8c8875bdc3 chore: pull forward unification changes we can make now (#20644)
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2022-03-21 12:19:09 -05: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 b295c6d5ef Merge remote-tracking branch 'origin/10.0-release' into UNIFY-1312-remove-componentFolder-references 2022-03-16 10:16:44 -07:00
Blue F c7ffaaee44 Merge pull request #20568 from cypress-io/UNIFY-1291-remove-old-schema
chore: Remove old config schema
2022-03-16 09:28:25 -07:00
Blue F 99181ba763 Merge pull request #20569 from cypress-io/UNIFY-1302-slowTestThreshold-by-testing-type
feat: Scope slowTestThreshold to specific testing types
2022-03-16 09:12:32 -07:00
Alejandro Estrada 54f3b90b13 fix: remove baseUrl from root-level types for supported fields (#20589)
* fix: update types for supported fields

* Fix build

* Update types

* Update cypress.d.ts

* Update type

* Add invalid type

* Add invalid type
2022-03-16 09:33:19 -05: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
BlueWinds 43f66af058 Merge remote-tracking branch 'origin/10.0-release' into UNIFY-1291-remove-old-schema 2022-03-15 10:56:58 -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 023f6a6115 First steps 2022-03-14 18:08:47 -07:00
BlueWinds 37f4749f52 Merge remote-tracking branch 'origin/10.0-release' into UNIFY-1291-remove-old-schema 2022-03-14 13:52:29 -07:00
BlueWinds 538c4aec24 Fix system test 2022-03-14 13:35:21 -07:00
BlueWinds 2206852c1e Revert "Move default slowtestthreshold config value to be testing type specific"
This reverts commit c002011d21.
2022-03-14 13:31:29 -07:00
BlueWinds c002011d21 Move default slowtestthreshold config value to be testing type specific 2022-03-14 13:20:34 -07:00
Jess c2cc967227 feat: adding module support for invoking cypress.config.mjs, .cjs, .ts (#20554)
* feat: adding module support for invoking cypress.config.mjs, .cjs, .ts

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-03-14 10:46:29 -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
BlueWinds 5d52800b52 Remove old config schema 2022-03-10 14:29:50 -08:00
Lachlan Miller 76129e26af merge in develop to 10.0-release 2022-03-07 10:44:26 +10:00
Zach Bloomquist 3c286177cc fix: use unique install cache folders for betas (#20296) 2022-03-04 22:22:39 +00:00
Tim Griesser 58ccda57b4 fix: UNIFY-676 browsers should be configurable in setupNodeEvents (#20367)
* fix: Add test for UNIFY-676

* Update packages/types/src/browser.ts

* fixes to types, failing test

* chore: fix typing errors

* Revert "chore: fix typing errors"

This reverts commit 97ba5cf496.

* fix:  for browsers field, fix types

Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-03-01 17:54:16 +10:00
Tim Griesser f0f9786ad0 chore: fix ExpectType assertions (#20395)
* chore: fix  assertions

* fix ExpectType for config.baseUrl
2022-02-28 13:01:04 -05:00
Zach Bloomquist 458a88de7e Merge remote-tracking branch 'origin/develop' into merge-develop-2-28-22 2022-02-28 10:54:35 -05:00
Zach Bloomquist ffd3627e43 test: migrate module_api to system tests (#20265)
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2022-02-25 23:12:05 +00:00
Jessica Sachs 0a5be72c90 Merge remote-tracking branch 'origin/develop' into 10.0-release 2022-02-23 18:41:58 -05:00
Jess 6ea3a8cb06 chore: fixing m1 installation issues for m1 macs (#20345) 2022-02-23 18:36:59 -05:00
Zach Bloomquist 79fb237f25 Merge remote-tracking branch 'origin/develop' into 10.0-release 2022-02-08 14:49:57 -05:00
Snyk bot 52ed6edcf3 chore(deps): Security upgrade shelljs to 0.8.5 (#19685)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@yahoo.com>
2022-02-08 10:38:29 -06:00
Alejandro Estrada 6e803597a3 fix: update scaffold template to use correct path (#20047)
* fix: update scaffold template to use correct path

* Remove support for dynamic import on devServer

* Update scaffold template

* Update config files

* Update with feedback

* Rename cypressConfig to cypressDevServerConfig

* Update devserver link

* Update comment
2022-02-07 16:58:24 -05:00
Tim Griesser 703548e16c Merge branch 'develop' into 10.0-release
* develop:
  chore: fix cypress npm package artifact upload path (#20023)
  chore(driver): move cy.within logic into it's own file (#20036)
  chore: update automerge workflows (#19982)
2022-02-06 20:41:57 -05:00
Emily Rohrbough 17f272e9ee chore: fix cypress npm package artifact upload path (#20023) 2022-02-04 12:00:08 -06: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
Emily Rohrbough e76ab3798f Merge branch '10.0-release' into 99f24863a2-develop-into-10.0-release 2022-01-31 12:15:44 -06:00
Emily Rohrbough 99f24863a2 fix: move node 17 Check from Binary to CLI (#19977) 2022-01-31 12:03:36 -06:00
Ben Alman 6a402a7076 fix(unify): improve dev server config ergonomics (#19957) 2022-01-28 20:45:28 -06:00
Jennifer Shehane 3f8c0680b4 Merge pull request #19823 from cypress-io/1f70b21bc4-develop-into-10.0-release 2022-01-24 13:30:06 -06: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
Emily Rohrbough f669c101e1 Merge branch '10.0-release' into 1f70b21bc4-develop-into-10.0-release 2022-01-21 15:50:16 -06:00
Blue F b16553ec70 feat: Add mimeType support; Improve TypedArray support (#19794)
* Add mimeType support; Improve ArrayBuffer support
2022-01-21 10:23:59 -08:00
Juan Julián Merelo Guervós 21cc95b8c4 chore: url → Eliminate obsolete "url" library from the cli subpackage (#19695)
Co-authored-by: Emily Rohrbough  <emilyrohrbough@users.noreply.github.com>
2022-01-20 10:22:28 -06:00