Alejandro Estrada
6e803597a3
fix: update scaffold template to use correct path ( #20047 )
...
* fix: update scaffold template to use correct path
* Remove support for dynamic import on devServer
* Update scaffold template
* Update config files
* Update with feedback
* Rename cypressConfig to cypressDevServerConfig
* Update devserver link
* Update comment
2022-02-07 16:58:24 -05:00
Alejandro Estrada
5d52758d82
feat: validate specPattern root level ( #19980 )
...
* feat: validate specPattern root level
* Fix/add tests
* Fix test
* Update specExcludePattern
* Fix tests
* Fix/add tests
* Fix/add tests
* Fix tests
* Rename specExcludePattern to excludeSpecPattern
* Fix tests
2022-02-04 10:48:10 -05:00
Ben Alman
6a402a7076
fix(unify): improve dev server config ergonomics ( #19957 )
2022-01-28 20:45:28 -06:00
Emily Rohrbough
f669c101e1
Merge branch '10.0-release' into 1f70b21bc4-develop-into-10.0-release
2022-01-21 15:50:16 -06:00
Blue F
b16553ec70
feat: Add mimeType support; Improve TypedArray support ( #19794 )
...
* Add mimeType support; Improve ArrayBuffer support
2022-01-21 10:23:59 -08:00
Blue F
3809cd4d37
feat: cy.selectFile() ( #19332 ) ( #19524 )
2022-01-14 10:37:29 -06:00
Barthélémy Ledoux
1773001c54
fix: dev-server types ( #19576 )
2022-01-07 14:41:36 -06:00
ElevateBart
d504d00166
fix: remove gremlins characters from cypress types
2022-01-07 09:40:00 -06:00
Alejandro Estrada
0366d4fa89
feat: use supportFile by testingType ( #19364 )
...
* feat: use supportFile by testingType
* Fix defaults
* Start renaming files, and updating system-tests
* Fix some tests
* Fix some tests
* Fix more tests
* Try to fix CI
* Fix more tests
* Fix some tests
* Revert changes
* Revert supportFile defaultValue
* Fix some tests
* Fix some tests
* Fix some tests
* Fix some tests
* Update supportFile example
* Update snapshots
* Remove scaffold support
* Handle config errors
* Remove scaffold
* Fix tests
* Fix test
* Update test
* Fix test
* Update supportFile template
* Fix template
2022-01-05 13:37:44 -05:00
Lachlan Miller
792980ac12
feat: support specPattern, deprecate integrationFolder and componentFolder ( #19319 )
...
* use new specPattern API
* remove projectApi.findSpecs
* do not require integration folder
* support --spec
* support --spec
* remove old code
* remove old code
* nuke old code
* no appvetor
* update
* correct url for ct
* work on migrating launchpad
* update ct spec url
* types
* types
* dead code
* remove old endpiont
* revert back circle.yml
* update missing config
* delete spec util
* update config
* update config
* config again
* update spec pattern
* updated vue config
* update spec pattern for ui components
* update config for vite dev server
* update snapshots
* update config
* update design system config
* fix spec pattern in reporter
* update default
* update deprecated spec snapshots
* update system tests
* update run mode output
* revert changes
* lint
* remove scaffold tests
* update angular
* fix CT
* update circle yml
* fix system tests for ct
* fix tests
* work on server unit tests
* patch package
* patch package again
* update test
* try not to rely on config async loading too much
* normalize specPattern to array
* update snapshot
* use base name
* deal with react-scripts later
* update snapshot
* hacky way to update snapshots
* new hack to update snapshots
* trying again
* hacky fix
* ci: snapshots
* ci: snapshots
* snapshots
* mas updates
* update spec API
* fix test
* fix test
* update
* update test
* fix test
* update plugin
* update spec
* webpack optinos
* Update launchpad tests
* fix screenshot paths
* updated snapshot
* change pattern
* guard
* fix smoke test
* patch code coverage
* update percy config
* fix specs
* try updating example project
* update snapshots
* remove old test
* remove snapshot hack
* add back appveyor
* remove old code
* update snapshot
* Fix tests
* wip
* revert snapshot
* reverted all snaps
* remove only
* remove commnet
* remove old code
* reverted file
* lint
* revert video compression spec
* update snapshot
* update spec path logic
* update snap
* updated snap
* snaps
* snaps
* fix spec
* rename ignoreTestFiles to ignoreSpecPattern
* update screenshot dir for runner-ct
* update deprecations
* update
* upate
* fix test
* update snaps
* update snap
* updating snap
* added missing snaps
* updated cypress run mode integration spec
* electron snapshot
* ensure newly scaffold specs are cached
* fix launchpad spec
* types
* update test
* transpile based on spec pattern
* add back example
* remove unnecessary async and nodeVersion
* removed old test
* update spec pattern and add defensive check around platform
* remove unused feature flag
* added tests
* fix react example
* update test
* update config
* fix spec finding in run mode
* fix tests
* fixing specs
* fix switching between specs
* remove invalid test
* increase timeout
Co-authored-by: estrada9166 <estrada9166@hotmail.com >
2022-01-04 14:24:24 +10:00
Blue F
6d10a7faff
feat: cy.selectFile() ( #19332 )
...
* feat: cy.attachFile with passed-in contents (#18825 )
* feat: attachFile string shorthands (#19045 )
* feat: Add drag-n-drop support (#19213 )
* Remove cypress-file-upload
2021-12-22 09:03:27 -08:00
Tim Griesser
4626f7481c
feat: ProjectLifecycleManager & general launchpad cleanup ( #19347 )
...
See #19347 for full summary
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
Co-authored-by: estrada9166 <estrada9166@hotmail.com >
Co-authored-by: Alejandro Estrada <estrada9166@gmail.com >
Co-authored-by: Jess <jess@jessicasachs.io >
2021-12-21 21:28:44 -05:00
Lachlan Miller
999ffd99dd
merge in origin
2021-12-21 09:49:57 +10:00
Ian VanSchooten
420a9be6ab
chore: add types for Cypress.session.clearAllSavedSessions ( #19412 )
...
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com >
2021-12-20 15:23:45 -06:00
Tim Griesser
223d5fa7e6
Merge branch 'develop' into 10.0-release
...
* develop:
chore(deps): update dependency ssri to 6.0.2 [security] (#19351 )
chore: Fix server unit tests running on mac by using actual tmp dir (#19350 )
fix: Add more precise types to Cypress.Commands (#19003 )
fix: Do not screenshot or trigger the failed event when tests are skipped (#19331 )
fix (#19262 )
fix: throw when writing to 'read only' properties of `config` (#18896 )
fix: close chrome when closing electron (#19322 )
fix: disable automatic request retries (#19161 )
chore: refactor cy funcs (#19080 )
chore(deps): update dependency @ffmpeg-installer/ffmpeg to v1.1.0 🌟 (#19300 )
2021-12-15 14:00:36 -05:00
Den Klimovsky
32d59024fb
fix: Add more precise types to Cypress.Commands ( #19003 )
...
Co-authored-by: Matt Henkes <mjhenkes@gmail.com >
2021-12-13 09:53:44 -05:00
David Munechika
dd0fc9b9f7
fix: throw when writing to 'read only' properties of config ( #18896 )
...
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com >
2021-12-10 11:16:12 -05:00
ElevateBart
ce0bb2c84b
Merge branch 'develop' into elevatebart/chore/merge-develop
2021-12-07 10:41:18 -06:00
Tyler Biethman
570f91dde3
fix: adding timeout option to writeFile command ( #19015 )
2021-12-06 15:31:25 -06: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
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
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
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
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
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
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
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
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
ec4748ca2d
return all specs from findSpecs, improve types
2021-09-16 16:32:34 +10:00
Lachlan Miller
5955544fc0
chore(server): share common routes ( #18055 )
2021-09-13 09:09:56 -04:00
Barthélémy Ledoux
2c298fcc58
Merge branch 'develop' into da4b1e06ce-master-into-develop
2021-09-09 16:19:10 -05:00
Barthélémy Ledoux
da4b1e06ce
feat: allow usage of @react/plugins with cypress.config.js ( #17738 )
2021-09-09 16:17:14 -05:00
Cesar
790e7b2bdb
fix: add missing clientCertificate type to ResolvedConfigOptions ( #18028 )
...
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
2021-09-09 14:01:49 -04:00