Commit Graph

917 Commits

Author SHA1 Message Date
Alejandro Estrada f79bdd665a fix: close chrome when closing electron (#19322) 2021-12-09 21:12:47 +00:00
Zach Bloomquist 65cf6e899d fix: disable automatic request retries (#19161) 2021-12-08 22:27:19 +00:00
Blue F 6b19381f79 fix: Add support for system node 17 (#19094) 2021-12-02 09:36:58 -08:00
Zach Bloomquist 71d92e0e49 test: node_modules installs for system-tests, other improvements (#18574)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2021-11-24 20:10:28 +00:00
David Munechika de4fca351b feat: Set CYPRESS=true as env var in child processes where Cypress runs user code in Node (#18981) 2021-11-22 08:39:42 -06:00
Kukhyeon Heo 2a6ded2352 chore: Update TypeScript to 4.4.4 (#18930) 2021-11-19 10:01:23 -05:00
Blue F 81626870bf fix: Loading of specs with % in the filename (#18877) 2021-11-17 08:27:40 -08:00
David Munechika 941cef10a0 fix: flaky system-tests-firefox job (#18848)
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-11-15 08:44:03 -06:00
Emily Rohrbough 99c8d466c8 feat: create config package for config validation (#18589) 2021-11-09 13:19:05 -06: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
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
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
BlueWinds 14ab9ecd02 Simplification based on review comments 2021-10-25 11:31:29 -07:00
Emily Rohrbough 252be9e26e chore(server): align test folder structure to src folder structure (#18597) 2021-10-25 09:41:03 -05:00
David Munechika a51ea0c618 fix: Electron video not playable in Firefox/Safari browsers or Quicktime player (#18530)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2021-10-20 11:53:14 -04:00
BlueWinds 5a9c52ca5f Once more with feeling 2021-10-19 15:41:44 -07:00
BlueWinds 6943186887 More attempts to get fixtures working properly 2021-10-19 15:14:48 -07:00
BlueWinds 798755813f Add 'null' encoding for fixtures, comment code more 2021-10-19 11:59:08 -07:00
Jessica Sachs a045e4f59a chore: move server e2e tests to system-tests (#16354)
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-10-18 19:53:14 +00:00
BlueWinds 2e52a2b68c Allow explicit null encoding for readFile/writeFile 2021-10-18 12:10:02 -07:00
Blue F f4fee905e7 Merge pull request #18445 from cypress-io/local-server-integration-test-fix
fix: server cypress_spec permissions test now passes
2021-10-14 15:03:10 -07:00
Blue F d51779308f Update packages/server/lib/scaffold.js
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-10-14 09:51:35 -07:00
Barthélémy Ledoux 83a1f09b11 fix: warn when the projectRoot is not writeable (#18495)
closes #18485
2021-10-14 11:26:49 -05: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 0d5ff9b9c6 Fix cypress_spec to run permissions test locally 2021-10-11 16:19:38 -07:00
David Munechika 1d08280f4a fix(driver): cy.pause() should not be ignored with cypress run --headed --no-exit (#18358) 2021-10-08 21:17:34 +00:00
Tim Griesser 32464f3b5b fix: remove .json check from require_async, prevent child_process spawn (#18416) 2021-10-08 14:15:27 -04:00
David Munechika 9265669a7e fix: everyNthFrame should only be applied for Chrome 89+ (#18392)
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-10-08 10:28:14 -04:00
Lachlan Miller d857e7fe42 chore(server): share client route (#18215) 2021-10-06 10:05:44 +10:00
David Munechika 56928c8ca0 fix: Prevent Cypress from crashing when argument parsing "spec: {}" (#18312) 2021-10-05 13:31:27 -04:00
Barthélémy Ledoux b4996ff148 feat: allow to use TypeScript in the config file (#18300)
* feat: allow to use typescritpt in the config file

* add end to end test

* test: add test for the default config file ts

* tests: add a tests for language conflict

* fix: only compile typescript if main file is ts

Co-authored-by: Zach Bloomquist <github@chary.us>

Co-authored-by: Zach Bloomquist <github@chary.us>
2021-10-02 09:15:21 -05: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
Barthélémy Ledoux 07d4340ce5 feat: allow cypress.config.js to be a default config file (#18221)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-09-29 14:34:01 -05:00
Barthélémy Ledoux c6758dc8f7 fix: set projectId in a custom config file (#18240) 2021-09-27 11:50:55 -05:00
Jennifer Shehane 26f92e0e56 fix: Add drone env for the url of the repo (#18222) 2021-09-27 09:19:50 -04:00
Barthélémy Ledoux dedb05a0b5 feat: allow use of javascript in config file (#18061) 2021-09-23 09:06:02 -05:00
Zach Bloomquist d6e4e22ab3 fix: add deprecation notice for win 32-bit (#18130)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-09-21 14:21:58 +00:00
Ben Kucera 9f9cf9e8b6 chore: fix broken firefox focus tests, bump resource class of chrome-beta job (#18133) 2021-09-21 09:34:48 -04:00
Zach Bloomquist 1b989c5baa fix(open_project): remove unnecessary fn wrapping from tryToCalls (#18146) 2021-09-17 18:58:10 +00:00
Lachlan Miller ec4748ca2d return all specs from findSpecs, improve types 2021-09-16 16:32:34 +10:00
Lachlan Miller 390e1a276b typescript 2021-09-16 11:58:22 +10:00
Lachlan Miller 1346fa9365 remove unused code 2021-09-16 11:54:07 +10:00
Lachlan Miller efb40620a6 Merge pull request #18101 from cypress-io/chore/remove-legacy-javascripts-config
chore: remove legacy javascripts config option and related code
2021-09-16 11:17:56 +10:00
Jennifer Shehane f82c08e3ea fix: Update DRONE branch used for Dashboard (#18062) 2021-09-15 15:14:26 -05:00
Lachlan Miller da74782454 remove legacy javascripts option 2021-09-15 15:32:22 +10:00
Lachlan Miller 5955544fc0 chore(server): share common routes (#18055) 2021-09-13 09:09:56 -04:00
Lachlan Miller 599e113c0b use debug instead of console.log 2021-09-11 11:37:49 +10:00