Commit Graph

875 Commits

Author SHA1 Message Date
Tim Griesser
598d94c62a feat: Auto-merge config when adding new testing type (#21152)
* wip on AST merging Cypress Config

* Adding test coverage & better implementation for config merging

* fix types, use new addToCypressConfig for projectId

* refactor: separate export for browser

* printing w/ recast

* don't remove prettier in this PR

* Update packages/config/src/ast-utils/addToCypressConfig.ts

* make comment more robust

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2022-04-25 18:58:44 -04:00
Zach Bloomquist
bc12c9da1f test: add windows-test-kitchensink job (#20847)
* test: add windows-test-kitchensink job

* run windows ci on this branch

* use test-binary-against-kitchensink-chrome

* windows-create-build-artifacts

* use working dir when cloning

* npm i in correct dir

* install chrome on windows for test-binary-against-repo

* parent dir

* bump kitchensink

to pull in https://github.com/cypress-io/cypress-example-kitchensink/pull/549

* fix cli type hoisting

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-04-19 22:43:11 +10:00
Tim Griesser
22917ced03 chore: fix windows node_modules install step (#21098)
* chore: fix windows node_modules install
2022-04-14 22:59:43 -04:00
Blue F
13caf93b3e Merge branch '10.0-release' into develop-10.0-release 2022-04-14 10:32:05 -07:00
Zach Bloomquist
546ed16c77 fix(cli): show additional mitigation steps for max path length error (#21047) 2022-04-14 16:23:31 +00:00
Lachlan Miller
aa98f2e3e2 Merge pull request #21045 from cypress-io/merge-develop-4-12
chore: merge develop into 10.0-release
2022-04-13 19:30:22 -07:00
Blue F
3aa69e2538 feat: Add vue2 package from npm/vue/v2 branch (#21026)
* Add vue2 package from npm/vue/v2 branch

* Add vue2 as automatic export

* remove npm/vue2/examples

* remove cypress directory from vue2

* fix: ordering of build scripts

* remove unneeded files from output, name module cypress-vue2 / CypressVue2

* fix types package resolution

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2022-04-13 12:17:22 -04:00
Emily Rohrbough
38d860ca97 Merge branch '10.0-release' into merge-develop-4-12 2022-04-13 10:53:35 -05:00
Tim Griesser
001a7244f8 fix: add possible frameworks to object API config (#21056) 2022-04-13 08:41:19 -04:00
David Munechika
ccae965edc fix merge conflicts 2022-04-12 08:52:19 -04:00
Kukhyeon Heo
4815a5644f fix: add missing Cypress.Commands.addAll() types (#20894)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2022-04-11 12:25:11 -05:00
Lachlan Miller
81901c0fe4 merge in develop 2022-04-08 11:42:51 +10:00
Blue F
b031803cfb Merge pull request #20939 from cypress-io/issue-19299-dbus-warnings
fix: silence dbus errors
2022-04-07 10:46:23 -07:00
Zach Bloomquist
6a4823b5e1 fix(cli): decrease the length of pre-release cache path (#20961) 2022-04-07 17:41:44 +00:00
Tim Griesser
53cc72c4a2 feat: add new vite-dev-server package based on object API & bundling (#20925)
* improve error experience for cy-in-cy

* feat: Adding vite-dev-server-fresh w/ react tests against 2.8.6 & 2.9.1

* add system tests for vite-dev-server-fresh

* cleanup a bit

* Add snapshots

* Update system-tests/project-fixtures/react/cypress-vite.config.ts

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

* add comments

* Update npm/vite-dev-server-fresh/src/devServer.ts

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

* fix: update logLevel for snapshots

* fix logging of vite inspect URL

* add experimentalSessionSupport per @brian-mann suggestion to clear state between tests

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-04-07 12:48:29 -04:00
Emily Rohrbough
0caba93a7a chore: merge dev into 10.0 release (#20950)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-04-07 09:40:25 -05:00
Jess
3fe5f50e78 feat: embedding mount into the cypress binary (real dependency) (#20930) 2022-04-06 20:12:55 -04:00
BlueWinds
eb659467ff fix: silence dbus errors 2022-04-06 09:20:16 -07:00
Emily Rohrbough
d0fc93b0dc chore: add internal log group API and update log group styles (#20857)
Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
2022-04-05 17:18:39 -05:00
Mark Noonan
8039be1157 Merge branch 'develop' into marktnoonan/merge-develop-2022-4-5 2022-04-05 17:32:47 -04:00
Tim Griesser
e1da852473 feat: add new webpack-dev-server package based on object API & bundling (#20861)
Adds the new webpack-dev-server-fresh package, exposing the new object api. This package will eventually be merged with/replace the existing webpack-dev-server

closes: UNIFY-1267
2022-04-05 12:05:33 -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
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
Jon Koops
0df0d7a28f fix(types): add correct type for preserve cookie callback (#20513)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2022-04-01 11:08:22 +10: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