Jess
b326693879
chore: cutting over system-tests and Cypress to use the new CT Object API ( #21079 )
...
* removing vite-dev-server local dependency from react-vite-ts-configured system test
* moving some CRA examples over to use the object api for setup
* fixing issue where function API was broken by object API for cy config + devservers
* adding deeply nested react import to project-fixtures for cra
* finishes cutting over cypress/react for sys tests
* chore: adding circle for this feature branch
* chore: moving over many vue + vite system tests to use object API instead of function API (#21080 )
* doing webpack-dev-server cutovers
* removing more webpack-dev-server refrences
* fixing snapshots
* bumping yarn.lock
* wip
* fix test
* fix assertion
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
* feat: removing all references for "fresh" dev servers (webpack-dev-server-fresh and vite-dev-server-fresh) (#21094 )
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
Co-authored-by: Zachary Williams <ZachJW34@gmail.com >
* chore: add dev-servers as deps to server to be included in the binary (#21091 )
* fix bad merge
* fix next types and webpack-dev-server- resolve
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
Co-authored-by: Zachary Williams <ZachJW34@gmail.com >
2022-04-20 15:57:19 +10:00
Jess
0e7b555f93
feat: swap the #__cy_root id selector to become data-cy-root for component mounting ( #20951 )
...
* Change #__cy_root selector for CT mounting point to be a data-cy-root selector
* moving all of the gets for the container element into the mount-utils
* Force HTMLElement instead of Element
* unskip vue2 tests
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
Co-authored-by: Tim Griesser <tgriesser10@gmail.com >
2022-04-13 16:08:35 -04:00
Zachary Williams
2c8e97df24
refactor: lift indexHtmlFile up to component, add validation ( #20870 )
2022-04-01 09:45:21 -05:00
Alejandro Estrada
61f7cfc592
fix: scope config to current testing type ( #20677 )
...
* fix: scope config to current testing type
* Revert options changes
* Fix some tests
* Fix more tests
* Fix more tests
* Fix more tests
* Update options
* Fix tests
* Fix tests
* Add comments
* Remove un-needed quote
* Fix test
* Fix tests
2022-03-23 19:06:36 -05:00
BlueWinds
b295c6d5ef
Merge remote-tracking branch 'origin/10.0-release' into UNIFY-1312-remove-componentFolder-references
2022-03-16 10:16:44 -07:00
Emily Rohrbough
efede20d9e
chore(unification): remove pluginsFile references ( #20560 )
...
* remove pluginsFile references
* fix all tests relying on this system test
* fix broken tests
* fix more broken tests
* one more
* relative path
* pr feedbkac
* fix vite-dev-server broken configuration
* PR feedback on error message
* update errors snaphsot
* bring back error in gql
* fix snapshot
* fix snapshot.
* fix merge issues
Co-authored-by: ElevateBart <ledouxb@gmail.com >
2022-03-15 11:27:04 +10:00
BlueWinds
023f6a6115
First steps
2022-03-14 18:08:47 -07:00
Alejandro Estrada
5670344590
feat: remove testFiles reference ( #20565 )
...
* feat: remove testFiles reference
* feat: remove testFiles reference
* Fix test/TS
2022-03-11 12:02:37 +10:00
Alejandro Estrada
8a6768fee6
feat: use devServer instad of startDevServer ( #20092 )
...
* feat: use devServer instad of startDevServer
* Fix tests
* Update with feedback
Co-authored-by: Zachary Williams <ZachJW34@gmail.com >
2022-02-11 09:46:58 -05:00
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
Jennifer Shehane
3f8c0680b4
Merge pull request #19823 from cypress-io/1f70b21bc4-develop-into-10.0-release
2022-01-24 13:30:06 -06:00
Alejandro Estrada
8f32960ef8
fix: scaffold correct config file ( #19776 )
...
* fix: scaffold correct config file
* update setConfigFilePath
* Update test
* Update with code review
* remove default supportFile
* Update supportFile default value
* Add test
* Fix identation
* Update with feedback
* fix english pluralization
Co-authored-by: Tim Griesser <tgriesser10@gmail.com >
2022-01-24 10:23:44 -05:00
Emily Rohrbough
f669c101e1
Merge branch '10.0-release' into 1f70b21bc4-develop-into-10.0-release
2022-01-21 15:50:16 -06:00
Chris Breiding
edb4642328
chore: Use @typescript-eslint/indent instead of eslint's indent ( #19772 )
2022-01-19 13:38:16 -05:00
Lachlan Miller
1f28650d68
chore: change integration->e2e throughout code base ( #19345 )
...
* 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
* update default
* rename integration->e2e
* rename integration->e2e in packages
* spec.ts -> cy.ts
* spec.ts -> cy.ts
* _spec.js -> .cy.js
* .spec.js -> .cy.js
* .spec.js -> .cy.js
* update config
* update config
* update
* update spec ext
* update config
* update config
* 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
* spec.tsx -> cy.tsx
* update stop-only config
* exclude CT from E2E
* removed old test
* update spec pattern in angular
* update spec pattern in design system
* update all specs npm npm/react
* update spec name
* update spec patterns
* remove old script
* update tests path
* update config
* fix test
* update snapshots
* update examples
* update ignore patterns
* update snapshots
* unit tests
* update tests
* patch code coverage
* revert spec name
* rename a lot of speces
* update
* update spec ext
* update spec
* update spec
* update spec ext
* update lint
* update rules
* update lint
* snaps
* update spec dir
* update paths
* remove unused pluginsfile config opt
* update smoke test
* update create cypress tests
* update gitignore
* update types
* update paths
* update spe
* update test
* update all snaps
* update tests
* update http request spec
* update spec file names
* snaps
* update snaps
* updated snaps
* update snaps
* spacing
* spacing
* spacing
* spacing
* fix perf spec
* update
* update
* revert
* update
* snaps
* snaps
* rename spec
* update snaps
* snapshots
* update tests
* update tests
* update
* fix
* update test projects
* update
* updating
* update run-ct test
* update spec pattern and add defensive check around platform
* fix system test script
* update snap
* snaps
* update test
* update spe
* update for FF
* ff
* remove unused feature flag
* added tests
* fix react example
* update test
* update config
* update test projects
* update snapshots
* correctly remove private prefix on darwin
* fix types
* rename integration -> e2e
* update config
* updatec onfig
* fixing app scaffold integration tests
* remove code
* exclude e2e specs from CT
* update snapshot
* integration->e2e
* update path for test file in ts project
* update schematic
* use updated branch for CI
* update config
* update config
* revert some changes
* remove built code
* revert changes
* update gitignore
* include test spec
* update scaffold script
* wip: renames
* script
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* mass rename
* rename
* rename
* fix angular
* update spec in create cypress tests
* remove old file
* fix tests
* access specPattern in a more idiomatic fashion
* do not duplicate variable
* pass correct params to findSpec in files controller
* add comment explaining spec finding
* remove reference to old file that no longer exist
* resolve conflicts
* fix types
* transpile cypress dir
* update circle ymlg
* update spec pattern for example project
* supportFile: false
* fix circle yml
* update test glob
* rename some specs to use correct .cy ext
* more ext renames
* rename spec
* update extensions
* update extensions
* update specs
Co-authored-by: estrada9166 <estrada9166@hotmail.com >
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com >
2022-01-11 16:29:55 +10: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
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
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
Alejandro Estrada
2573375b5b
feat: add devServer to config file ( #18962 )
2021-11-19 13:42:58 -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
Alejandro Estrada
081dd19cc6
feat: Use .config files ( #18578 )
...
Co-authored-by: Tim Griesser <tgriesser10@gmail.com >
2021-11-02 10:24:39 -04: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
Tim Griesser
d841e1331f
refactor: Data context cleanup & IPC bindings for data push ( #18357 )
2021-10-11 12:13:41 -04:00
Gleb Bahmutov
36be9ebea5
docs: restore author of react,vue,ng component testing ( #16800 )
...
Co-authored-by: Jennifer Shehane <jennifer@cypress.io >
2021-09-09 12:58:01 -05:00
Zachary Williams
16e4759e01
feat: support webpack-dev-server v4 ( #17918 )
...
* feat: migrate to new webpack-dev-server public api
* fix: extract version check, and disallow minor releases matching `/3\./` with a starts with req.
* feat: support webpack-dev-server v4
* fix webpack warning causing overlay and types
* pin test dependency
* fix tests that were using incorrect wewbpack configuration
Co-authored-by: Ollie Relph <ollie@relph.me >
2021-08-30 17:42:17 -04:00
Tim Griesser
02257b0fe1
chore: Move runner-ct dependencies to devDependencies ( #17100 )
2021-06-24 13:03:01 -04:00
Lachlan Miller
8c9c02e1d3
docs: update docs for unpublished cypress angular ( #16820 )
...
* docs: update docs for unpublished cypress angular
* Update npm/angular/README.md
Co-authored-by: Matt Hamil <matthamil@users.noreply.github.com >
Co-authored-by: Jessica Sachs <jess@jessicasachs.io >
Co-authored-by: Matt Hamil <matthamil@users.noreply.github.com >
Co-authored-by: Barthélémy Ledoux <bart@cypress.io >
2021-06-09 08:19:28 +10:00
Daniel Sogl
46de81e75f
fix(angular): set rxjs versions > 6.6.0 as dependency ( #16676 )
2021-05-26 14:26:56 +10:00
Lachlan Miller
a277e98dfd
chore(npm/angular): migrate angular adapter to monorepo ( #16434 )
...
* chore: migrate angular adapter to monorepo
* fix: update angular tests to use @cypress/angular
* update snapshots
* update snapshots
* update params
* replace cypress-angular with @cypress/angular
* make angular private
* chore: deps
* remove git keep
* chore: update yarn.lock
* add test
2021-05-19 11:35:06 +10:00