Commit Graph

776 Commits

Author SHA1 Message Date
Tim Griesser
92aa22a9ac chore: post-merge cleanup 2021-11-20 21:39:16 -05:00
Tim Griesser
7c339d41c8 Merge branch 'develop' into 10.0-release
* develop: (52 commits)
  feat: use hoisted yarn install in binary build (#17285)
  fix: compile npm packages for node 12 (#18989)
  fix: show call count even if `cy.stub().log(false)`. (#18907)
  chore: Update TypeScript to 4.4.4 (#18930)
  fix: wrap playground selectors in double quotes if not included (#18442)
  fix: flaky settings_spec test (#18979)
  chore: Update Chrome (stable) to 96.0.4664.45 (#18931)
  fix: Loading of specs with % in the filename (#18877)
  chore: refactor `create` into class `$Cy` (#18715)
  chore: Update Chrome (beta) to 96.0.4664.45 (#18891)
  fix: flaky `system-tests-firefox` job (#18848)
  chore: release @cypress/webpack-preprocessor-v5.10.0
  chore: release @cypress/vue-v3.0.5
  chore: release @cypress/schematic-v1.6.0
  chore: release create-cypress-tests-v1.2.0
  release 9.0.0
  feat: ensure major release
  have conduit app wait on localhost:3000
  fix install-required-node
  use --legacy-peer-deps
  ...
2021-11-20 16:03:53 -05:00
Tim Griesser
e4f5b106d4 feat: use hoisted yarn install in binary build (#17285) 2021-11-20 14:19:51 -05:00
Tim Griesser
2eb0ff551a feat: improve vite DX (#18937) 2021-11-17 11:24:04 -05:00
Alejandro Estrada
bb8251b752 feat: Use plugins on config files (#18798)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-11-16 14:45:26 -05:00
Blue F
f967908704 fix: Exit when both --e2e and --component flags are passed in (#18855)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-11-12 09:15:10 -08:00
Chris Breiding
869feeaa4c feat: ensure major release
BREAKING CHANGE: major releases needs a commit like this that changes the cli or something in packages/
2021-11-10 15:24:49 -05:00
renovate[bot]
3095d733e9 feat(deps): update dependency electron to v15 🌟 (#18317)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: David Munechika <davidam1203@gmail.com>
2021-11-09 20:52:17 +00:00
Emily Rohrbough
99c8d466c8 feat: create config package for config validation (#18589) 2021-11-09 13:19:05 -06:00
Chris Breiding
a9902b2fe6 feat: Support --browser cli option in Launchpad (#18473) 2021-11-08 11:06:23 -05:00
Tim Griesser
e018a14c21 feat: Add typings for new devServer config (#18797) 2021-11-08 11:02:01 -05:00
Matt Henkes
cb7f530320 feat: Node version schema update (#18796)
* Update Schema

* update to mark as deprecated and restore the default.
2021-11-05 11:04:12 -07:00
Matt Henkes
82429c0027 feat: Defaulting nodeVersion to system (#18732)
* Defaulting nodeVersion to system

* try to fix system test

* Rename arg parameters, fix system test in a much better way.

* remove invalid comment

* Add deprecation warning for the nodeVersion config.

* Remove default value to avoid warning regardless of the presence of `nodeVersion`

* More tests fixes 😅

* Updates to deprecation message

* update node version in deprecation notice.

* flex config file name that we tell consumers to update

* simplify validateNoBreakingConfig options
2021-11-04 11:45:25 -07:00
Tim Griesser
6a9f5a1a41 Merge branch 'develop' into unified-desktop-gui
* develop: (40 commits)
  fix(driver): Sticky elements within a fixed container will not prevent an element from being scrolled to (#18441)
  chore: make `create` function on server.ts obsolete (#18615)
  docs: Add instructions to squash commits to develop in Contributing (#18728)
  fix(@cypress/react): throw if using Next.js swc-loader without nodeVersion=system (#18686)
  refactor: remove Ramda (#18723)
  chore: Increase paralleled machines for desktop-gui tests (#18725)
  chore: Update Chrome (stable) to 95.0.4638.69 (#18696)
  chore: release @cypress/vue-v3.0.4
  chore: release @cypress/react-v5.10.2
  chore: release @cypress/schematic-v1.5.3
  fix: remove outdated registry link (#18710)
  chore: release @cypress/schematic-v1.5.2
  chore: release create-cypress-tests-v1.1.3
  chore: Update Chrome (beta) to 96.0.4664.27 (#18676)
  chore(tests): Remove flaky assertion that relies on png how compression (#18668)
  fix: make sure to go back to no-specs when delete spec file (#17760)
  fix: Next.JS 12 components testing failing with ` TypeError: Cannot read property 'traceChild' of undefined` (#18648)
  Backport .gitignore from unified-desktop-gui
  chore(docs): add 'Upgrading Electron' instructions (#18594)
  release 8.7.0 [skip ci]
  ...
2021-11-02 21:35:26 -04:00
Alejandro Estrada
081dd19cc6 feat: Use .config files (#18578)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-11-02 10:24:39 -04:00
Jennifer Shehane
0273f3ebae Merge branch 'develop' into 9.0-release 2021-11-01 11:58:55 -06:00
Tim Griesser
c0d781d28f refactor: remove Ramda (#18723) 2021-11-01 13:37:33 -04:00
Emily Rohrbough
e396956534 feat: remove windows 32-bit support (#18630)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Zach Bloomquist <git@chary.us>
2021-10-29 08:54:02 -05:00
Emily Rohrbough
e16e5b9906 Merge branch 'develop' into 9.0-release 2021-10-28 09:32:27 -05:00
Blue F
196e8f62cc feat: Deprecate run-ct / open-ct, and update all examples to use --ct instead (#18422)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-10-26 10:36:44 -04:00
Jennifer Shehane
f6aea2db2b Merge branch 'develop' into 9.0-release 2021-10-25 17:55:31 -05:00
BlueWinds
96aaac37f1 Merge remote-tracking branch 'origin/develop' into issue-1558-null-encoding-for-binary-files 2021-10-25 12:18:38 -07:00
Blue F
776b7301fd feat: Add 'slowTestThreshold' and fix this.slow() inside specs (#18496)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-10-25 14:49:32 -04:00
Lachlan Miller
5754b2c480 merge in develop 2021-10-20 18:36:26 +10:00
BlueWinds
798755813f Add 'null' encoding for fixtures, comment code more 2021-10-19 11:59:08 -07:00
Zach Bloomquist
8dc75d1fd8 Merge branch 'develop' into 9.0-release 2021-10-15 16:46:29 +00:00
BlueWinds
ec7ee74686 Revert "Merge pull request #18371 from cypress-io/issue-447-configure-slow-test-threshold"
This reverts commit f919bfbb85, reversing
changes made to 0f201fec6d.
2021-10-15 08:50:04 -07:00
Blue F
f919bfbb85 Merge pull request #18371 from cypress-io/issue-447-configure-slow-test-threshold
feat: Add 'slowTestThreshold' and fix `this.slow()` inside specs
2021-10-14 10:21:26 -07:00
Kukhyeon Heo
af472b6419 fix: revive type checker (#18172)
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-10-13 23:51:38 +00:00
BlueWinds
c504a11439 Update default slowTestThreshold to vary for testingTypes, add system test 2021-10-13 12:13:18 -07:00
BlueWinds
53c2328da8 Rework how slowTestThreshold / _slow are passed around 2021-10-12 13:18:19 -07:00
Tim Griesser
0fede06681 Merge branch 'develop' into unified-desktop-gui
* develop: (33 commits)
  fix: remove .json check from require_async, prevent child_process spawn (#18416)
  percy snapshot the tooltip visually, prevent it from being hidden
  fix: `everyNthFrame` should only be applied for Chrome 89+ (#18392)
  docs: General updates to contributing guide (#18283)
  chore: Update Chrome (beta) to 95.0.4638.40 (#18389)
  chore: use circleci timings split for e2e tests (#18367)
  fix: fixed title (#18370)
  chore(deps): update dependency electron to v14 🌟 (#18384)
  chore(server): share client route (#18215)
  fix: Prevent Cypress from crashing when argument parsing "spec: {}" (#18312)
  chore: update husky dev dependency to v7 (#18345)
  feat: add defineConfig function to help type config (#18302)
  chore: Update Chrome (stable) to 94.0.4606.71 (#18324)
  feat: allow to use TypeScript in the config file (#18300)
  allow select to be called with empty array (#18329)
  fix(vite-dev-server): windows `supportFile` + preserve optimize entries (#18286)
  chore: fix semantic-release dry run (#18332)
  fix(driver): improve status_code_flags_invalid error message (#18316)
  chore(deps): update dependency electron to v13.5.0 🌟 (#18318)
  chore: Update Chrome (stable) to 94.0.4606.61 and Chrome (beta) to 95.0.4638.32 (#18229)
  ...
2021-10-08 14:55:31 -04:00
BlueWinds
e7d6e6db82 Add shorter --ct alias for --component 2021-10-07 10:25:57 -07:00
BlueWinds
e01d3acfe8 Add --e2e and --component CLI options 2021-10-07 10:25:46 -07:00
BlueWinds
aacfc28639 Review feedback, standardizing all docs about slowTestThreshold to use same verbage 2021-10-07 09:20:54 -07:00
0xflotus
e9188669da fix: fixed title (#18370) 2021-10-07 09:31:16 -05:00
Lachlan Miller
db3e7b3aab chore: merge in develop to unified-desktop-gui (#18388)
* chore: merge in develop

* fix types
2021-10-07 17:29:14 +10:00
Zach Bloomquist
0f201fec6d Merge branch 'develop' into 9.0-release 2021-10-06 21:55:30 +00:00
BlueWinds
203072fae7 Rename slow to slowTestThreshold; Remove --slow command line option; Change to 10000ms default 2021-10-06 10:35:19 -07:00
BlueWinds
1ff421fc71 Add 'slow' option to configure slow test threshold 2021-10-05 14:51:10 -07:00
Barthélémy Ledoux
7cca9b713a feat: add defineConfig function to help type config (#18302)
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-10-05 10:44:50 -05:00
Tim Griesser
c200e95e14 chore: unify e2e tests launchpad (#18314) 2021-09-30 16:50:39 -04:00
Jessica Sachs
d39b1694aa feat: improved DX and support for running component and e2e tests w/ gulp (#18135)
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2021-09-30 12:11:47 -04:00
David Munechika
0e7d882a53 feat(driver): Add "overwrite" option to cy.screenshot() (#18280)
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-09-30 11:26:59 -04:00
David Munechika
a5356b8f11 feat(driver): add select by index (#18201)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-09-24 16:13:22 -04:00
Jennifer Shehane
61e0444a22 Merge branch develop into 9.0-release 2021-09-23 14:01:52 -05:00
Lachlan Miller
c9a7b4de76 merge in develop 2021-09-23 18:44:53 +10:00
Tim Griesser
94541d4f18 feat: merging / delegating remote queries to cloud schema (#17875)
Changes:
- Pulls down & stitches in the "Cypress Cloud" schema from remote. Currently defaulted to "staging" so we can make quick fixes / iteration there
- Add dedicated type checking CircleCI job `check-ts`
- Adds [graphcache](https://formidable.com/open-source/urql/docs/graphcache/) to normalize the cache & provide better auto-reactivity when data changes
- Removes `LocalProject` / `DashboardProject` in favor of `Project` / `CloudProject`
- General cleanup of Vue components' GraphQL fragments
- Parallelizes launchpad tests & recording to new Cypress project: https://dashboard.cypress.io/projects/sehy69/runs
  - Did this b/c tests were frequently timing out, need to figure out the source of this
- Basic mocks for remote schema
2021-09-20 17:12:59 -04:00
Arne Westphal
8249d2ee0c fix(cli): Respect NO_PROXY on cypress download (#17702)
Co-authored-by: Zach Bloomquist <git@chary.us>
2021-09-20 18:25:54 +00:00
Lachlan Miller
5f94486bc2 merge in develop 2021-09-17 15:01:44 +10:00