Commit Graph

843 Commits

Author SHA1 Message Date
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
Harles-Herman Pilter
2685f82663 feat: env to use path params in download url (#19526)
* feat: env to use path params in download url

* feat: change env to url template

* feat: fix snapshot

Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-01-18 08:07:52 -08:00
Blue F
3809cd4d37 feat: cy.selectFile() (#19332) (#19524) 2022-01-14 10:37:29 -06:00
Tim Griesser
4915d65780 fix: flake in shelljs scripts during postinstall (#19678) 2022-01-12 19:48:12 -05:00
Pascal Gafner
576519e465 fix: use util.getEnv to handle environment variables set with npm (#19560)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-01-12 08:52:26 -06:00
Kukhyeon Heo
ea531b7840 chore: remove pkg/driver //@ts-nocheck part 2 (#19483)
* listeners.ts

* chainer.ts

* command.ts

* actionability.ts

* inspect.ts

* agents.ts

* aliasing.ts

* angular.ts

* asserting.ts

* clock.ts files

* commands.ts

* debugging.ts

* fix comment.

* roll back change.

* Fix.

* fix

* Casted to cast.

* Feedback changes.

* fix any.
2022-01-11 09:37:05 -06:00
Juan Julián Merelo Guervós
4818a21465 fix: update cli-table dependency to fix broken colors.js (#19622)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2022-01-10 12:52:32 -06:00
Barthélémy Ledoux
1773001c54 fix: dev-server types (#19576) 2022-01-07 14:41:36 -06:00
ElevateBart
d504d00166 fix: remove gremlins characters from cypress types 2022-01-07 09:40:00 -06:00
David Ihnen
df5687c65d fix: Inability to download with redirects through a proxy (#19310)
* Fixes inability to download with redirects through a proxy

* lint fixes

* t

* tests are passing

* tests pass and works

* a little cleanup

* oops, @cypress/request

* nuding the ci system

* Fix race condition in verify code

* address comments on pull request

* a test with multiple layers of redirects

* Add tests and mechanism for redirect loop error

* Make informative error message

* Remove environment config option for now

* test assertion pattern

Co-authored-by: David Ihnen <dihnen.ctr@kr.af.mil>
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-01-05 14:01:35 -08:00