Commit Graph

406 Commits

Author SHA1 Message Date
Adam Murray
cac3685cac feat: add cypress schematic and builders for angular (#16449)
* fix: lint fixes. add .eslintrc

* Update eslint config

* fix: remove jasmine. add mocha/chai. remove builder test for now. update tsconfig. update package json with main folder. remove package yarn.lock in favor of monorepo

* fix: restore filenames

* fix: add eslint ignore for compiled files

* fix: move eslintignore to root. add circle commands for schematic.

* fix: upate file pattern for ignore

* fix: add angular/cli to build step

* fix: update working dir

* fix: add eslint

* fix: update polocy version to avoid eslint issue
2021-05-11 21:04:12 -04:00
Ben Kucera
3342ca3b7f chore(ci): ignore percy on external prs (#16315)
* ignore percy on external prs
* fix reporter-integration tests
2021-05-04 15:04:57 -04:00
Zach Bloomquist
64d2d22c8c chore: run driver, runner tests in electron (#16208) 2021-05-03 15:55:09 -05:00
Ben Kucera
b2ccd4d07c chore(ci): fix missing percy snapshots (#16240) 2021-04-30 16:47:45 -04:00
Barthélémy Ledoux
b8f981e8b4 Merge branch 'develop' into 4d2347671-master-into-develop 2021-04-29 14:13:29 -05:00
Barthélémy Ledoux
84d22383dc docs: add example of code coverage with CT (#16239)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-04-29 13:21:06 -05:00
ElevateBart
a3db154664 Merge branch 'develop' into 4d2347671-master-into-develop 2021-04-29 11:29:56 -05:00
ElevateBart
56a160b59a ci: run vite tests in CI 2021-04-29 11:24:53 -05:00
Lachlan Miller
7b4b8c08db chore: delete rollup dev server (#16082) 2021-04-27 06:23:06 -07:00
ElevateBart
709b348ff0 Merge branch 'develop' into b45fd0e8a-master-into-develop 2021-04-22 09:48:40 -05:00
Lachlan Miller
7d79d8fd41 update circle yml 2021-04-22 13:58:33 +10:00
Lachlan Miller
dc78c0aeae resolve conflicts in master(fe0b63c29) and develop 2021-04-22 11:37:22 +10:00
Tim Griesser
ff233b1abc chore: fix darwin ci workflow (#16126) 2021-04-21 18:25:43 -04:00
Ben Kucera
cd2096ff6c chore(ci): fix documentation-firefox, example-conduit (#15765) 2021-04-21 15:19:25 -04:00
Tim Griesser
07d7e24a3f chore: Improve CI build time by caching node_modules (#16115)
Improves the CI time by caching node_modules in a way that they can be re-used between CI runs if any items that would influence the node_modules have not changed (yarn.lock, {dev,peer}dependencies, *.patch files)
2021-04-21 13:56:32 -04:00
Lachlan Miller
fe0b63c299 fix: improve handling of userland injected styles in component testing (#16024)
* feat(npm/react): do not clear head between tests

* add a shared mount utils library

* add readme

* update dependencies

* add mount utils to circle

* change module

Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-04-22 01:48:48 +10:00
renovate[bot]
ea375ba7da fix(deps): update dependency ansi_up to version 5.x 🌟 (#15440)
* fix(deps): update ansi_up to 5.0.0 🌟

* bump yarn install timeout for build job

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
2021-04-16 16:00:17 -04:00
Adam Gastineau
8eaf4b478b feat: Design System Setup (#15776) 2021-04-14 07:03:36 -07:00
Barthélémy Ledoux
64cfa06c1e docs: make clean examples of vue component testing (#15796)
* remove all existsing examples

* create vue cli project

* add nuxt app example

* test: fix some vite tests

* docs: add tests to nuxt example

* add test script to nuxt example

* docs: add cy plugin nuxt

* fix: avoid creating support files

* test: add tests for vue cli

* test: fix CLI example

* fix the test

* test: make all vue examples be tested in ci

* ci: use minimist

* ci: fix cwd

* adjust the model for .env files making it easy to comment/uncomment the examples opened.

* protect empty module

* fix nuxt tests

* fix test protection

* more clear fix
2021-04-08 10:00:05 +10:00
Adam Gastineau
0ca53c783d chore: TypeScript 4.2.3 (#15646) 2021-04-06 08:21:21 -07:00
ElevateBart
037a803eb6 ci: remove flaky vite tests from CI 2021-04-02 13:57:42 -05:00
Zach Bloomquist
214b753e49 chore: run all tests in 7.0-release 2021-04-01 15:05:41 -04:00
Jessica Sachs
e657481ff2 Merge branch 'develop' into 7.0-release 2021-03-31 18:00:24 -04:00
Barthélémy Ledoux
adc2fc893f feat: simplify vite server (#15416) 2021-03-31 11:16:31 -05:00
Jessica Sachs
4c849bf0b6 chore: fix syntax error in circle 2021-03-30 14:45:25 -04:00
Jessica Sachs
f65e39f541 chore: fixing the desktop-gui-component-tests build step 2021-03-30 11:25:56 -04:00
Adam Gastineau
b773ab2f13 Wrapped combined Percy commands in quotes 2021-03-30 07:38:24 -07:00
Adam Gastineau
429451bfdd Updated CircleCI to properly run desktop-gui CT tests 2021-03-30 06:27:31 -07:00
Jessica Sachs
798789ed58 chore: removing circle command for old component testing 2021-03-29 16:23:06 -04:00
Jessica Sachs
43c3fde306 chore: running new cypress component testing for the desktop GUI 2021-03-29 15:56:10 -04:00
Zach Bloomquist
16e1577848 Merge remote-tracking branch 'origin/develop' into 7.0-release 2021-03-24 16:27:56 -07:00
Jennifer Shehane
954db7095b chore: Remove percy-finalize from required jobs for npm-release (#15589) 2021-03-19 14:45:44 -04:00
Jessica Sachs
8286fcd0b9 chore: fix the Linux lint circleci task not finishing (#15572) 2021-03-18 21:47:40 -04:00
Barthélémy Ledoux
a12b72b81d refactor(component-testing): simplify vue mount (#15275)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-03-18 20:38:59 -04:00
Jessica Sachs
ee2b1beb22 chore: remove conditional test suite, ciDependents, and ciJobs (#15552)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-03-18 13:09:16 -04:00
Jessica Sachs
018407b4b5 chore: adding a test for the release scripts (#15551) 2021-03-18 01:25:30 -04:00
Zach Bloomquist
8286c0bfb3 Merge remote-tracking branch 'origin/develop' into 7.0-release 2021-03-16 16:02:33 -04:00
Chris Breiding
1491ab0d52 Merge branch 'develop' 2021-03-15 14:46:36 -04:00
Amir Rustamzadeh
614c40955c fix(ci): rwa type check when testing against staging (#15473)
* chore: run tests against rwa in current branch

- update rwa testing job to use yarn

* fix(ci): install cypress binary w/ yarn when yarn.lock present

* fix(ci): fix command formatting

* fix(ci): ensure proper cypress installation

* fix(ci): remove yarn adding of cypress binary

* fix(ci): clean type check command

* fix(ci): add param for conditionally running project builds

* fix(ci): created dedicated command for testing against RWA

* fix(ci): revert cypress binary install command for normal repos

* fix(ci): add back folder param

* fix(ci): change rwa start script

* fix(ci): set CI env var to appease CRA

* fix(ci): remove server timeout for testing

* fix(ci): more power

* chore(ci): remove debugging branch from filters
2021-03-14 21:50:26 -04:00
Amir Rustamzadeh
ae8da0f60d fix(ci): check for yarn before running type and build scripts (#15472)
* fix(ci): check for yarn before running type and build scripts

* fix(ci): fix command formatting
2021-03-14 14:54:27 -04:00
github-actions[bot]
ef1b02d955 chore: merge master (a37ab762f) into develop (#15412)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
Co-authored-by: ElevateBart <ledouxb@gmail.com>
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-03-13 04:59:21 -05:00
Amir Rustamzadeh
2871b19f62 fix(ci): use yarn for example repo dep installs (#15462) 2021-03-12 18:49:05 -05:00
Barthélémy Ledoux
a37ab762fa ci: run vite tests in ci (#15411) 2021-03-10 15:20:39 -06:00
Zach Bloomquist
e30fe0d387 Merge remote-tracking branch 'origin/develop' into 7.0-release 2021-03-10 13:54:42 -05:00
renovate[bot]
b52ac98a69 feat(deps): update dependency electron to version 12.x 🌟 (#15292)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
2021-03-10 15:24:00 +00:00
Barthélémy Ledoux
59dbed90dc fix(component-testing): vite server dependency refresh (#15366)
* fix: monkey patch vite

* fix: make sure we on ly refresh once

* fix: update error display on compile error

* chore: add compatibility comment

* fix: add vite-dev-server to ci
2021-03-09 10:21:16 -06:00
Zach Bloomquist
7e9da2365c Merge remote-tracking branch 'origin/develop' into 7.0-release 2021-03-05 12:36:05 -05:00
Dmitriy Kovalenko
fc30118252 feat(@cypress/react): Make correct plugins for different adapters/bundlers (#15337)
* Remove unused stuff

* Fix eslint errors

* Use local cypress running script

* Fix dependency resolution

* Revert "Fix dependency resolution"

This reverts commit 01a70be211.

* Add @cypress/react CI

* Properly resolve @types pacakges

* Run tests with mocha

* Fix cypress tests

* Fix or skip some specs

* Add retries to the card-spec.js

* Remove jest mocks

* Run e2e examples on CI

* Fix yarn cache key

* Fix e2e examples jobs

* Rename cypress-react-unit-test with @cypress/react

* Fix circleci.yml

* Revert "Fix e2e examples jobs"

This reverts commit efcc7c4d19.

* Revert " Rename cypress-react-unit-test with @cypress/react"

This reverts commit 4febfcc82b.

* Replce cypress-react-unit-test with @cypress/react

* Persist build artifacts

* Fix working directory paths circle.yml

* Fix more CI

* adding yarn.lock files

* Make package.json for  folder

* Remove .npmrc

* Update circle.yml

* Remove unused files

* Copy plugins files to the "dist" folder

* Fix links to the github repos

* Move init wizard from npm/react/init to npm/wizard

* Move init wizard from npm/react/init to npm/wizard

* Implement initial vue template

* Run wizard tests on CI

* Refactor continue: bool to success: bool for better code readability

* Fix circleci.yml

* Use only absolute paths for tests

* Stub process.exit calls

* Remove useless comments

* Add installation cypress to the wizard logic

* More improvements

* Include packages/examples/cypress into git

* Commit new files

* Use packages/example as SST for generated files

* Last improvements for wizard

* Update packages/server/lib/scaffold.js

* Rename wizard to create-cypress-tests

* Fix circleci config

* Fix snapshot tests

* Run all create-cypress-tests on ci

* Do not install plugins and scaffold files from kitchensink

* Ignore integration/examples folder for packages/example

* Run create-cypress-tests-tests on CI

* Add copy example cross-platform script

* Use copy example script in tests

* feat: create-cypress-tests auto-inject config (#9116)

* Implement the basic babel code transformation for configs

* Add more tests for edge-cases

* Add snapshot tests for autogenerated code for each template

* Add git status guard

* Add git status guard

* Fix last test

* Fix tests

* Revert changes for packages/example

* Revert changes for packages/example/tsconfig.json

* Prepeare package for the release

* Fix inquirer name

* v0.0.125

* v0.0.127

* v0.0.128

* v0.0.130

* v0.0.131

* Add more UX features

* Add vue-cli template

* Make src as default folder for vue-cli template

* Revert dev-time changes

* Run appveyour windows build

* Run full appveyour build

* Fix circle.yml

* Update plugins

* Join paths for windows

* Revert example/lib changes

* Fix tests

* Revert unnecessary changes

* Implement dev-server dependency installation

* Update npm/create-cypress-tests/README.md

* Properly exit process if react tests failed

* Fix circleci reporter not found

* Update nextjs plugin

* react-scripts plugin for dev-server

* Implement webpack-file plugin support

* v0.0.502

* v0.0.503

* Implement rollup support

* Implement babel plugin

* Update webpack options

* Fix nextjs plugin

* Unmount components in beforeEach to prevent side-effects

* Rename preprocessor to injectDevServer

* Fix next.js example

* Fix webpack-options exampel

* Reproduce rollup problem

* Update create-cypress-tests snapshots

* Do not run examples/rollup

* Uncomment test

* Change paralllelism

* Remove useless checks

* Update snapshots

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-03-05 18:16:22 +02:00
Jennifer Shehane
9ec2740649 Merge branch 'develop' into 7.0-release 2021-03-05 11:07:31 -05:00
Dmitriy Kovalenko
c405ee89ef feat: create-cypress-tests installation wizard (#9563)
* Remove unused stuff

* Fix eslint errors

* Use local cypress running script

* Fix dependency resolution

* Revert "Fix dependency resolution"

This reverts commit 01a70be211.

* Add @cypress/react CI

* Properly resolve @types pacakges

* Run tests with mocha

* Fix cypress tests

* Fix or skip some specs

* Add retries to the card-spec.js

* Remove jest mocks

* Run e2e examples on CI

* Fix yarn cache key

* Fix e2e examples jobs

* Rename cypress-react-unit-test with @cypress/react

* Fix circleci.yml

* Revert "Fix e2e examples jobs"

This reverts commit efcc7c4d19.

* Revert " Rename cypress-react-unit-test with @cypress/react"

This reverts commit 4febfcc82b.

* Replce cypress-react-unit-test with @cypress/react

* Persist build artifacts

* Fix working directory paths circle.yml

* Fix more CI

* adding yarn.lock files

* Make package.json for  folder

* Remove .npmrc

* Update circle.yml

* Remove unused files

* Copy plugins files to the "dist" folder

* Fix links to the github repos

* Move init wizard from npm/react/init to npm/wizard

* Move init wizard from npm/react/init to npm/wizard

* Implement initial vue template

* Run wizard tests on CI

* Refactor continue: bool to success: bool for better code readability

* Fix circleci.yml

* Use only absolute paths for tests

* Stub process.exit calls

* Remove useless comments

* Add installation cypress to the wizard logic

* More improvements

* Include packages/examples/cypress into git

* Commit new files

* Use packages/example as SST for generated files

* Last improvements for wizard

* Update packages/server/lib/scaffold.js

* Rename wizard to create-cypress-tests

* Fix circleci config

* Fix snapshot tests

* Run all create-cypress-tests on ci

* Do not install plugins and scaffold files from kitchensink

* Ignore integration/examples folder for packages/example

* Run create-cypress-tests-tests on CI

* Add copy example cross-platform script

* Use copy example script in tests

* feat: create-cypress-tests auto-inject config (#9116)

* Implement the basic babel code transformation for configs

* Add more tests for edge-cases

* Add snapshot tests for autogenerated code for each template

* Add git status guard

* Add git status guard

* Fix last test

* Fix tests

* Revert changes for packages/example

* Revert changes for packages/example/tsconfig.json

* Prepeare package for the release

* Fix inquirer name

* v0.0.125

* v0.0.127

* v0.0.128

* v0.0.130

* v0.0.131

* Add more UX features

* Add vue-cli template

* Make src as default folder for vue-cli template

* Revert dev-time changes

* Run appveyour windows build

* Run full appveyour build

* Fix circle.yml

* Update plugins

* Join paths for windows

* Revert example/lib changes

* Fix tests

* Revert unnecessary changes

* Implement dev-server dependency installation

* Update npm/create-cypress-tests/README.md

* Include webpack-options template in dist

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2021-03-05 07:51:53 +02:00