Commit Graph

17568 Commits

Author SHA1 Message Date
Tim Griesser d19cba873a fix: remove extra bundled electron in 10.0 binary (#20932)
* fix: remove duplicate electron in binary dependencies

* move openProject

* fix test failure

* Decrease the MAX_ALLOWED_SIZE_MB
2022-04-06 11:18:19 -04:00
Zachary Williams 1d2d6a4723 fix: add missing component-index.html (#20926) 2022-04-06 09:01:12 +10:00
Zachary Williams edf5595fda fix: small ui tweaks for switch testing type (#20901) 2022-04-05 16:12:37 -05:00
Ryan Manuel ba93023f2b fix: initialization lifecycle after project setup (#20906) 2022-04-05 15:40:49 -04:00
Barthélémy Ledoux ae9a0718f1 fix: remove create spec from story (#20876) 2022-04-05 14:35:26 -05: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
Tim Griesser 30d7917c88 fix: UNIFY-1389 proper absolute pathing in stack_utils (#20858)
* fix: UNIFY-1389 proper absolute pathing in stack_utils

* Add test for absolute path resolve fix

* add failing test for webpack absolute path line

* fix for webpack absolute line

* confirmed fix for absolute rather than relative path in cy tests
2022-04-05 11:19:57 -04:00
Tim Griesser 2909c93ffd chore: remove dependency-tree dep (#20905) 2022-04-05 09:55:50 -04:00
Lachlan Miller 164543106e chore(launchpad): work on infra for scaffold tests (#20818)
* chore: work on infra for scaffold tests

* revert

* wip

* ignore scaffolded files in linting

* add snapshot for plain TS project

* add more tests

* linting

* add temp-dir dep to data-context

* exclude scaffolded assets from linting

* bump server tsconfig lib to es2019

* bump graphql tsconfig lib

* add missing dependency

* use task to avoid test code leaking into data-context prod

* remove unused code

* remove deps

* make currentProject cross platform with path.posix and path.sep

* posix.join

* use path.posix everywhere

* update types

* correct paths and add ct framework to expected dir

* fix scaffolded files from indexHtmlFile merge

Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-04-05 09:42:40 +10: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 3f32ffd747 fix(unify): Cypress version link should point to Cypress doc's changelog (#20869) 2022-04-04 16:15:22 -05:00
Alejandro Estrada e6cbc5ae1e fix: windows build (#20854)
* fix: update icons build to work on windows

* Add rimraf

* Update scripts

* Update script

* Update scripts

* Fix windows migration

* Update postinstall script

* Remove script
2022-04-04 11:12:08 -05:00
Ryan Manuel 404447e397 Merge pull request #20775 from cypress-io/ryanm/feat/refactor-config-loading 2022-04-01 13:55:07 -05:00
Ryan Manuel e87dadd509 Merge branch '10.0-release' into ryanm/feat/refactor-config-loading 2022-04-01 10:54:16 -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
Barthélémy Ledoux 32372e94ae Merge branch '10.0-release' into ryanm/feat/refactor-config-loading 2022-04-01 09:49:40 -05:00
Zachary Williams 2c8e97df24 refactor: lift indexHtmlFile up to component, add validation (#20870) 2022-04-01 09:45:21 -05:00
Ryan Manuel 1d8efaf276 Merge branch '10.0-release' into ryanm/feat/refactor-config-loading 2022-04-01 07:40:44 -05:00
Barthélémy Ledoux 771f7654be fix: allow migration of pluginsFile using env properties (#20770)
* fix: allow migration of code-coverage plugin

* fix: use 9.X options to default migration

* fix: remove internal values from options

* test: add unit tests to the new model

* test: e2e test all error prone defaultValues

* fix: avoid removing values in pluginsFile

* test: fix tests

* test: fix test

* fix unit test
2022-04-01 18:42:22 +10:00
Barthélémy Ledoux 1e7efc22c3 Merge branch '10.0-release' into ryanm/feat/refactor-config-loading 2022-03-31 23:42:13 -05:00
Alejandro Estrada 1033e04bd8 fix: viewport from CLI on CT (#20849)
* fix: viewport from CLI on CT

* Add tests
2022-04-01 11:39:33 +10:00
Ryan Manuel bcd60d793f Merge branch '10.0-release' into ryanm/feat/refactor-config-loading 2022-03-31 17:49:32 -05:00
Ryan Manuel 0b3d01f4de Don't communicate if process isn't connected 2022-03-31 17:30:43 -05:00
Ryan Manuel d5e48a3b47 Remove config.get 2022-03-31 17:27:14 -05:00
Ryan Manuel 53a430409d Update packages/data-context/src/data/ProjectLifecycleManager.ts
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2022-03-31 16:55:08 -05:00
Ryan Manuel 09ab40daa2 fix: git data source unit test failure (#20875) 2022-03-31 16:48:03 -05:00
Ryan Manuel 1e12aa8612 add comment for autoBindDebug 2022-03-31 16:01:42 -05:00
Ryan Manuel 2fe1d4ad01 Merge remote-tracking branch 'origin/ryanm/feat/refactor-config-loading' into ryanm/feat/refactor-config-loading 2022-03-31 15:24: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 78b74b70f7 Merge pull request #20866 from cypress-io/ryanm/chore/merge-develop-to-10.0 2022-03-31 10:48:05 -05:00
Tyler Biethman c4adc8cf09 fix: Ensuring current browser is synchronized between app and launchpad (#20830)
* fix: Ensuring current browser is synchronized between app and launchpad

* Adding e2e test

* Fixing types

* Using slot prop for radio group to determine selection styles
2022-03-31 10:25:15 -05:00
Ryan Manuel 305fabec13 Fix missed await on merge conflict resolution 2022-03-31 09:54:32 -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
Tim Griesser 14b616d06d Merge branch '10.0-release' into ryanm/feat/refactor-config-loading 2022-03-31 07:19:55 -04:00
Zach Bloomquist 5b4ceedaff test(unification): move record keys to contexts (#20860)
* add test-runner:cypress-record-key context to jobs

* add test-runner:percy context
2022-03-31 14:53:33 +10:00
Zach Bloomquist 8ea49520be test: move record keys to contexts (#20859) 2022-03-31 03:32:06 +00:00
Ryan Manuel 6bace98a24 PR comments 2022-03-30 21:13:47 -05:00
Ryan Manuel 6bf20468b3 Fix tests that visit app without a configured testing type 2022-03-30 19:49:50 -05:00
Ryan Manuel 8d193cb0ef Fix type script 2022-03-30 18:15:46 -05:00
Ryan Manuel 6c157fa777 Fix issue with refreshing on the welcome screen 2022-03-30 16:42:59 -05:00
Ryan Manuel c51480a980 Merge branch '10.0-release' into ryanm/feat/refactor-config-loading 2022-03-30 11:07:18 -05:00
Zachary Williams 87bb14059a Merge pull request #20692 from cypress-io/zachw/automation-ui 2022-03-30 10:38:18 -05:00
Blue F 085add55ab Merge pull request #20817 from sainthkh/issue-19985
fix: cy.root respect timeout option.
2022-03-30 08:01:19 -07:00
Zachary Williams 6407c4f8ca Merge remote-tracking branch 'origin/10.0-release' into zachw/automation-ui 2022-03-30 09:32:10 -05:00
Zachary Williams 14becb328f make alerts more responsive 2022-03-30 09:31:46 -05:00
github-actions[bot] 4869a6182c chore: Update Chrome (stable) to 100.0.4896.60 (#20841)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
2022-03-30 07:04:13 -06:00
KHeo a95eff5f58 Revise test. 2022-03-30 15:03:54 +09:00
KHeo bd985d30df fix: cy.root respect timeout option. 2022-03-30 15:03:54 +09:00
renovate[bot] 0646b737ae fix(deps): update dependency ansi-regex to v4.1.1 [security] (#20836)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-30 14:57:55 +10:00
Ryan Manuel 0022d6770d Add test for migration scenario 2022-03-29 22:42:34 -05:00