Adam Stone-Lord
4c11731ee1
chore: optimize task execution ( #27848 )
...
* Revert "chore: simplify build script (#27547 )"
This reverts commit 0a86ec686e .
* Revert "chore: upgrade lerna to 6, cache build step (#26913 )"
This reverts commit 9e60aeba8f .
* [run ci]
* chore: upgrade lerna to 6, cache build step (#26913 )
* chore: update build-npm-modules script
* chore: update build-npm-modules script
* chore: update build-npm-modules script
* chore: update build-npm-modules script
* chore: update lerna to 6
* [run ci]
* try caching build step
* we can't clean without building after
* add dependencies on scripts for npm packages
* update commands
* add config for data-context build step
* fix output configurations for npm packages, add gitignores
* revert changes to config and data-context build steps
* fix outputs
* run with cache
* fix outputs for cli
* actually fix outputs
* test with cache
---------
Co-authored-by: astone123 <adams@cypress.io >
* chore: simplify build script (#27547 )
* chore: simplify build script
* update CI workflows
* fix workflows
* empty commit because Percy weirdness
* chore: add driver, reporter, config as implicit dependencies for runner package (#27559 )
* run all workflows on branch
* chore: parallelize test-binary-against-recipes CI step (#27570 )
* chore: fix some easy circular dependencies in dep graph (#27612 )
* chore: remove gulp tasks from postinstall (#27616 )
* empty commit
* chore: minor improvements to node_modules_install (#27647 )
* chore: fix cypress:open and dev scripts
* run with cache [run ci]
* exclude mochaawesome assets from .yarnclean [run ci]
* bump cache again [run ci]
* run cached [run ci]
* chore: do not cache cli build step [run ci]
* update workflow command and docs for build-cli [run ci]
* fix commands that use scope [run ci]
* use different branch for publish repo [run ci]
* percy weirdness? [run ci]
* fix postbuild cli script [run ci]
* try to remove typescript from production binary [run ci]
* fix circular dependency [run ci]
* try removing ts from node_modules [run ci]
* remove typescript resolution [run ci]
* remove redundant target scripts
* update to lerna scoped commands
* remove unneeded yarn in lerna command
* try to fix Electron install in Windows workflow
---------
Co-authored-by: Jordan <jordan@jpdesigning.com >
Co-authored-by: Dave Kasper <dave.m.kasper@gmail.com >
2023-10-04 12:25:00 -05:00
Matt Henkes
e06334d289
Merge branch 'develop' into release/13.0.0
2023-08-18 10:39:40 -05:00
Adam Stone-Lord
24f1460692
chore: revert changes to build process ( #27584 )
...
* Revert "chore: remove Typescript dependency from app node_modules in binary (#27577 )"
This reverts commit 60d4c8356c .
* Revert "chore: simplify build script (#27547 )"
This reverts commit 0a86ec686e .
* Revert "chore: upgrade lerna to 6, cache build step (#26913 )"
This reverts commit 9e60aeba8f .
* build everything
* [run ci]
2023-08-18 10:05:29 -04:00
Bill Glesias
fe6d3274f4
Merge branch 'develop' into chore/merge-develop-v13
2023-08-11 13:25:08 -04:00
Jordan
9e60aeba8f
chore: upgrade lerna to 6, cache build step ( #26913 )
...
* chore: update build-npm-modules script
* chore: update build-npm-modules script
* chore: update build-npm-modules script
* chore: update build-npm-modules script
* chore: update lerna to 6
* [run ci]
* try caching build step
* we can't clean without building after
* add dependencies on scripts for npm packages
* update commands
* add config for data-context build step
* fix output configurations for npm packages, add gitignores
* revert changes to config and data-context build steps
* fix outputs
* run with cache
* fix outputs for cli
* actually fix outputs
* test with cache
---------
Co-authored-by: astone123 <adams@cypress.io >
2023-08-10 11:12:38 -04:00
Lachlan Miller
d27e2494fa
chore: protocol/mount before async ( #27511 )
...
Co-authored-by: David Kasper <dave.m.kasper@gmail.com >
2023-08-10 08:44:18 -05:00
Lachlan Miller
0e14b9ebea
chore: bump rollup & some vite deps ( #25140 )
2022-12-19 14:08:12 -05:00
Lachlan Miller
09d0879cab
chore: update to Vite 4 and Rollup 3 ( #25101 )
...
* chore: try move to rollup 3 and vite 4
* bump to latest versions
2022-12-13 10:35:02 +10:00
semantic-release-bot
430b49858a
chore: release @cypress/mount-utils-v4.0.0
...
[skip ci]
2022-12-02 18:42:07 -05:00
Emily Rohrbough
79ea453764
chore(v12): merge develop into release/12.0.0 ( #24705 )
...
Co-authored-by: amehta265 <65267668+amehta265@users.noreply.github.com >
Co-authored-by: Bill Glesias <bglesias@gmail.com >
Co-authored-by: mattvCypress <mattv@cypress.io >
Co-authored-by: Ryan Manuel <ryanm@cypress.io >
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
Co-authored-by: Jordan <jordan@jpdesigning.com >
Co-authored-by: Adam Stone <adams@cypress.io >
2022-11-18 16:02:31 -06:00
Chris Breiding
e4be9697bd
Merge branch 'develop' into merge-develop-v12-2022-11-14-take-2
2022-11-14 13:57:38 -05:00
Adam Stone
141c799975
chore: normalize CT adapter readme documents ( #24590 )
2022-11-09 12:29:28 -05:00
semantic-release-bot
16b12bad58
chore: release @cypress/mount-utils-v3.0.0
...
[skip ci]
2022-11-07 10:42:35 -05:00
rockindahizzy
7aba05b1a4
chore: add or improve mount JSDocs ( #24475 )
...
* Add or improve JSDoc
* Address code review comments
* Apply suggestions from code review
Co-authored-by: Zachary Williams <ZachJW34@gmail.com >
* Update npm/react/src/mount.ts
Co-authored-by: Zachary Williams <ZachJW34@gmail.com >
* Apply suggestions from code review
Co-authored-by: Stokes Player <stokes@cypress.io >
* on links
Co-authored-by: Zachary Williams <ZachJW34@gmail.com >
Co-authored-by: Stokes Player <stokes@cypress.io >
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
2022-11-04 17:26:01 +10:00
Adam Stone
294985f8b3
fix: remove some CT functions and props ( #24419 )
...
* fix: remove mountHook function for React
* fix: remove `unmount` from @cypress/react exports
* fix: remove `unmount` from the @cypress/react readme
* fix: don't alias React components on mount
* fix: remove `mountCallback` from Vue adapters
* fix: remove style injection utility functions from `mount-utils`
* fix: fix React tests
* fix: fix more React tests
* fix: fix more tests
* fix: fix screenshot test styles
* fix: update documentation around mount-utils styles; fix tests
* fix: update Vue docs to use `props` key rather than `propsData`
* fix: add test styles back in
* update unmount test and export getContainerEl for back compat
* better errors
* docs
* error for unmount
* test for error
* fix last test
* adjust language to reflect removed methods
* one last deprecation
* fix error
* wip - [skip ci]
* use proxy to catch errors
* deprecate alias
* update tests
* update on link
* use on links properly
* revert changes
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
2022-11-04 15:05:26 +10:00
Zachary Williams
f39eb1c19e
fix: remove last mounted component upon subsequent mount calls ( #24470 )
...
BREAKING CHANGE: remove last mounted component upon subsequent mount calls of mount
2022-11-03 12:19:29 -05:00
Zachary Williams
58e0ab9160
fix: remove dependence on @cypress/<dep> types ( #24415 )
...
* fix: remove dependence on @cypress/<dep> types
* I added a patch but didn't wire up patch-package
* address comments
* remove patch, use updated @vue-test-utils
2022-11-01 08:25:30 +10:00
Matt Schile
69873ae988
chore: remove experimentalSessionAndOrigin flag ( #24340 )
...
BREAKING CHANGE: removed experimentalSessionAndOrigin flag. testIsolation defaults to strict
2022-10-24 08:49:13 -06:00
Adam Stone
84cc1e5f48
chore: manually fix npm package changelogs ( #24249 )
2022-10-14 09:17:28 -04:00
semantic-release-bot
7f2c621ddd
chore: release @cypress/mount-utils-v2.1.0
...
[skip ci]
2022-10-12 12:38:13 -04:00
semantic-release-bot
0131e218f1
chore: release @cypress/mount-utils-v2.1.0
...
[skip ci]
2022-10-11 17:40:54 -04:00
semantic-release-bot
e14e6d1669
chore: release @cypress/mount-utils-v2.1.0
...
[skip ci]
2022-10-11 09:31:27 -04:00
semantic-release-bot
ab4fda9d67
chore: release @cypress/mount-utils-v2.1.0
...
[skip ci]
2022-10-06 14:09:59 -04:00
semantic-release-bot
7a15c84726
chore: release @cypress/mount-utils-v2.1.0
...
[skip ci]
2022-10-04 18:55:22 -04:00
semantic-release-bot
89a605d21a
chore: release @cypress/mount-utils-v2.1.0
...
[skip ci]
2022-10-03 21:22:39 -04:00
semantic-release-bot
05474b4dd5
chore: release @cypress/mount-utils-v2.1.0
...
[skip ci]
2022-10-03 15:50:40 -04:00
semantic-release-bot
5647f35903
chore: release @cypress/mount-utils-v2.1.0
...
[skip ci]
2022-10-01 11:49:41 -04:00
semantic-release-bot
b1c789785d
chore: release @cypress/mount-utils-v2.1.0
...
[skip ci]
2022-09-30 13:16:43 -04:00
semantic-release-bot
9d9580e454
chore: release @cypress/mount-utils-v2.1.0
...
[skip ci]
2022-09-30 12:36:26 -04:00
semantic-release-bot
1246d6479f
chore: release @cypress/mount-utils-v2.1.0
...
[skip ci]
2022-09-30 10:30:33 -04:00
Lachlan Miller
7154ab0350
docs: document mount adapter requirements ( #23976 )
...
* docs: document mount adapter spec
* inject styles earlier
* update docs
2022-09-30 08:16:06 +10:00
semantic-release-bot
bc1cc01545
chore: release @cypress/mount-utils-v2.1.0
...
[skip ci]
2022-09-29 16:21:51 -04:00
Emily Rohrbough
86b02f3c96
chore: remove master branch from dev workflow
2022-09-20 08:45:38 -05:00
Emily Rohrbough
864ab8ebf2
chore: merge master into develop for release ( #23803 )
2022-09-13 10:49:01 -05:00
Zachary Williams
f6eaad40e1
feat: adding svelte component testing support ( #23553 )
...
Co-authored-by: Jessica Sachs <jess@jessicasachs.io >
Co-authored-by: Rocky <25568640+rockindahizzy@users.noreply.github.com >
2022-08-26 12:36:05 -05:00
Zachary Williams
7ddcc96388
chore: update typescript ( #23523 )
...
* chore: update typescript
* use String()
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
* use String()
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
* use String()
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com >
2022-08-25 09:31:02 +10:00
semantic-release-bot
5c29c31405
chore: release @cypress/mount-utils-v2.0.1
...
[skip ci]
2022-08-11 11:09:32 -04:00
Chris Breiding
9ef6053264
Merge branch 'master' into develop
2022-07-19 13:18:01 -04:00
Barthélémy Ledoux
97ec82009c
fox: avoid removing the types from vue, vue2 when install ( #22814 )
2022-07-15 14:28:25 -05:00
Zachary Williams
a9476ecb3d
fix: remove CT side effects from mount when e2e testing ( #22633 )
2022-07-11 10:52:20 -05:00
Zachary Williams
040b0544f5
chore: update ct-related READMEs and changelogs ( #22538 )
...
Co-authored-by: Blue F <blue@cypress.io >
2022-06-28 16:45:31 -05:00
semantic-release-bot
dfd20ce3ca
chore: release @cypress/mount-utils-v2.0.0
...
[skip ci]
2022-06-13 18:23:38 -04:00
Zachary Williams
b924d086ee
chore: prep npm packages for use with Cypress v10
...
BREAKING CHANGE: new version of packages for Cypress v10
2022-06-13 12:06:26 -05:00
Zachary Williams
b66c2a6f4e
chore: mark ct packages as private ( #21650 )
...
Co-authored-by: Matt Henkes <mjhenkes@gmail.com >
2022-05-27 18:35:14 +00: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
Jess
3fe5f50e78
feat: embedding mount into the cypress binary (real dependency) ( #20930 )
2022-04-06 20:12:55 -04: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
Jennifer Shehane
a19009afee
chore: Update package.json/readmes for npm packages to better find changelog ( #16482 )
2021-05-13 08:53:25 -05:00
semantic-release-bot
eebb06c4d2
chore: release @cypress/mount-utils-v1.0.2
...
[skip ci]
2021-04-29 22:40:38 -04:00
Barthélémy Ledoux
bd629d307e
fix: avoid unmounting React components twice ( #16280 )
2021-04-29 21:22:32 -05:00