Commit Graph

15944 Commits

Author SHA1 Message Date
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
Blue F
30bd7ae499 Change 'orange' to 'yellow' in all places for consistency
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-10-14 09:53:13 -07:00
BlueWinds
a2784af99c Update additional snapshots 2021-10-13 13:10:34 -07: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
BlueWinds
aacfc28639 Review feedback, standardizing all docs about slowTestThreshold to use same verbage 2021-10-07 09:20:54 -07:00
Zach Bloomquist
0f201fec6d Merge branch 'develop' into 9.0-release 2021-10-06 21:55:30 +00:00
renovate[bot]
a639649d25 chore(deps): update dependency electron to v14 🌟 (#18384)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 21:51:42 +00:00
BlueWinds
80ea0f345f Revert "Throw error on this.slow() informing users about slowTestThreshold inside tests, hooks and suites."
This reverts commit 1496833756.
2021-10-06 14:04:14 -07:00
BlueWinds
1496833756 Throw error on this.slow() informing users about slowTestThreshold inside tests, hooks and suites. 2021-10-06 13:51:17 -07:00
BlueWinds
be844b21cf Typo fix 2021-10-06 10:46:35 -07:00
BlueWinds
203072fae7 Rename slow to slowTestThreshold; Remove --slow command line option; Change to 10000ms default 2021-10-06 10:35:19 -07:00
Lachlan Miller
d857e7fe42 chore(server): share client route (#18215) 2021-10-06 10:05:44 +10:00
BlueWinds
1ff421fc71 Add 'slow' option to configure slow test threshold 2021-10-05 14:51:10 -07:00
David Munechika
56928c8ca0 fix: Prevent Cypress from crashing when argument parsing "spec: {}" (#18312) 2021-10-05 13:31:27 -04:00
Darsh Shah
b898d11afe chore: update husky dev dependency to v7 (#18345) 2021-10-05 15:58:22 +00: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
github-actions[bot]
6fc9468238 chore: Update Chrome (stable) to 94.0.4606.71 (#18324)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
2021-10-04 09:59:47 -05: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
bfba82dea2 allow select to be called with empty array (#18329) 2021-10-02 09:12:55 -05:00
userquin
4b3c49af58 Merge branch 'master' into develop 2021-10-01 22:07:00 +00:00
userquin
ea2f6a45c7 fix(vite-dev-server): windows supportFile + preserve optimize entries (#18286)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-10-01 18:06:22 -04:00
Tim Griesser
d24d27245a Merge branch 'master' into develop 2021-10-01 18:37:50 +00:00
Tim Griesser
e1a3fa2646 chore: fix semantic-release dry run (#18332) 2021-10-01 14:37:06 -04:00
Zach Bloomquist
496f8f7833 fix(driver): improve status_code_flags_invalid error message (#18316) 2021-10-01 08:12:38 -05:00
renovate[bot]
b8b84603b2 chore(deps): update dependency electron to v13.5.0 🌟 (#18318)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-30 20:16:33 +00:00
github-actions[bot]
c2966c43b8 chore: Update Chrome (stable) to 94.0.4606.61 and Chrome (beta) to 95.0.4638.32 (#18229)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
2021-09-30 19:07:12 +00:00
Zach Bloomquist
8fa70b8909 fix(proxy-logging): use constant consoleProps object (#18207)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-09-30 17:52:18 +00: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
Dmitriy Lazarev
cb5eeece39 fix: don't reassign the error name if it already exists (#18259) 2021-09-30 10:48:18 -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
Chris Breiding
2caa5de2c5 release 8.5.0 v8.5.0 2021-09-27 16:21:01 -04:00
David Munechika
c0846f5d9b fix: Error message for cy.select() with no arguments (#18234)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
2021-09-27 15:11:13 -04: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
userquin
853a6f5a33 chore: fix initial installation on windows (#18241) 2021-09-25 14:34:37 -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
Zachary Williams
1785016b1e Merge branch 'master' into develop 2021-09-24 16:54:12 +00:00
Zachary Williams
db6f9096bd fix: next trace error (#18189) 2021-09-24 12:53:29 -04:00
Zander Martineau
6e0c2c1af8 fix(vite-dev-server): replace UserConfig with InlineConfig to allow correct configFile types (#18167)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-09-24 12:06:32 +10:00
Jennifer Shehane
61e0444a22 Merge branch develop into 9.0-release 2021-09-23 14:01:52 -05:00
Barthélémy Ledoux
dedb05a0b5 feat: allow use of javascript in config file (#18061) 2021-09-23 09:06:02 -05:00
github-actions[bot]
20c8c5faca chore: Update Chrome (stable) to 94.0.4606.54 (#18196)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-09-22 13:09:00 -04:00
Jennifer Shehane
f363eae9ec chore: bump yarn.lock (#18204) 2021-09-22 10:18:37 -05:00
Zach Bloomquist
0964ca2c7d chore(tests): fix flake in net stubbing/xhr/proxy logging tests (#18163) 2021-09-21 21:31:21 +00:00
github-actions[bot]
f826d3aea0 chore: Update Chrome (beta) to 94.0.4606.54 (#18174)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-09-21 10:27:35 -04: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
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
github-actions[bot]
a87a373f6a chore: Update Chrome (beta) to 94.0.4606.50 (#18117)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-09-20 17:38:42 +00:00