Commit Graph

15657 Commits

Author SHA1 Message Date
Tim Griesser
1e005644ae refactor: update binary script files to be more procedural 2021-07-06 09:58:29 -04:00
Tim Griesser
00eca92afa refactor: rename binary script files js -> ts 2021-07-06 09:58:28 -04:00
Tim Griesser
0064dce259 refactor: Loosen semver ranges for deps 2021-07-06 09:58:28 -04:00
github-actions[bot]
8f80b4e49a chore: Update Chrome (beta) to 92.0.4515.80 (#17171)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
2021-07-06 08:48:47 -05:00
Tim Griesser
9dacb106a9 chore: don't restore node_modules for binary tests (#17160) 2021-06-30 13:41:20 -04:00
Dario Piotrowicz
31afd211c0 fix: convert 0 to string in contains command (#16998)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-06-30 12:17:57 -05:00
Zach Panzarino
5579a481ed fix: prevent saved state errors for deprecated keys (#17093) 2021-06-30 09:32:11 -05:00
Zach Panzarino
7362bce7f3 fix(studio): restore intro modal styles (#17118) 2021-06-30 08:35:08 -05:00
Tim Griesser
e3a5bdf111 refactor: add @packages/resolve-dist to isolate client/server code (#17109) 2021-06-29 12:54:29 -04:00
Cédric Exbrayat
7509042e47 Merge branch 'master' into develop 2021-06-29 15:21:49 +00:00
Cédric Exbrayat
5c2efc7507 fix: plugin file referenced by cypress config in angular schematics (#17143) 2021-06-29 10:21:14 -05:00
Tim Griesser
7276f5e2b3 refactor: @packages/runner-shared should also be devDependencies (#17133) 2021-06-29 11:15:08 -04:00
semantic-release-bot
86440c172d chore: release @cypress/schematic-v1.4.1
[skip ci]
@cypress/schematic-v1.4.1
2021-06-29 09:07:35 -04:00
Cédric Exbrayat
7193c1c040 Merge branch 'master' into develop 2021-06-29 12:36:03 +00:00
Cédric Exbrayat
7b4d694303 fix: plugin file in angular schematics (#17141)
Runnin g`ng add @cypress/schematic --defaults --skip-confirmation` in a new Angular 12 application results in a broken setup for cypress,
as the plugin file does not have any export.

When running `ng e2e`, Cypress complains with:

```
The plugins file is missing or invalid.

Your `pluginsFile` is set to `/Users/ced-pro/Code/angular/angular-cli-diff/ponyracer/cypress/plugins/index.js`, but either the file is missing, it contains a syntax error, or threw an error when required. The `pluginsFile` must be a `.js`, `.ts`, or `.coffee` file.

Or you might have renamed the extension of your `pluginsFile`. If that's the case, restart the test runner.

Please fix this, or set `pluginsFile` to `false` if a plugins file is not necessary for your project.
```

This commit reverts the changes to the plugin file made in 96a9db4204
and fixes the issue.
2021-06-29 07:35:28 -05:00
Lachlan Miller
0b19da80e1 chore(runner): render spec list inline (behind feature flag) (#17069)
* move spec list to shared package

* render and hydrate spec list

* share base store

* deps

* set current spec

* render spec list in e2e runner

* lint

* add design system import

* add deps

* wip: layout

* use dynamic spec list width

* remove debugging code

* feature flag

* fix tests

* do not emit event when feature flag is OFF

* revert CSS

* revert more changes

* whitelist specListWidth

* add test selector

* update feature flag

* improve feature flag

* add tests for inline spec list

* allow using real onSpecWindow in runner integration tests

* update tests

* improve tests

* make feature flag more explicit
2021-06-29 17:11:08 +10:00
109149
85a4cf6991 refactor: remove junk test (#17125)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-06-29 10:19:17 +10:00
Lachlan Miller
1907299319 chore(server): collapse project-ct and project-e2e into project-base (#17115)
* collapse project-ct and project-e2e into project

* remove project specific classes

* add projectType property

* fix imports

* remove projectType getter

* fix test

* fix imports

* add CT tests

* update test

* fix test

* add import helpers

* add tslib deps

* add tslib
2021-06-29 09:38:59 +10:00
Barthélémy Ledoux
20de3e585f fix: make dev-server error message appear only once when CT is not configured (#17090) 2021-06-27 11:02:27 -05:00
semantic-release-bot
7052c67dac chore: release @cypress/schematic-v1.4.0
[skip ci]
@cypress/schematic-v1.4.0
2021-06-25 12:55:01 -04:00
Adam Murray
bdb5574e9b Merge branch 'master' into develop 2021-06-25 16:07:40 +00:00
Adam Murray
96a9db4204 feat: add ng generate to @cypress/schematic to generate e2e spec files (#16962) 2021-06-25 11:07:03 -05:00
Zach Panzarino
d866a7603a feat(studio): add ability to copy commands to clipboard (#16912) 2021-06-25 10:27:28 -05:00
semantic-release-bot
b2bf4cfabe chore: release @cypress/webpack-preprocessor-v5.9.1
[skip ci]
@cypress/webpack-preprocessor-v5.9.1
2021-06-24 14:30:26 -04:00
semantic-release-bot
bd3755213a chore: release @cypress/webpack-batteries-included-preprocessor-v2.2.2
[skip ci]
@cypress/webpack-batteries-included-preprocessor-v2.2.2
2021-06-24 14:30:07 -04:00
semantic-release-bot
1dde5cc2f4 chore: release @cypress/vue-v3.0.0-beta.3
[skip ci]
@cypress/vue-v3.0.0-beta.3
2021-06-24 14:29:40 -04:00
Tim Griesser
f35efca744 refactor: remove unused findSpecs code (#17044) 2021-06-24 13:50:16 -04:00
Tim Griesser
02257b0fe1 chore: Move runner-ct dependencies to devDependencies (#17100) 2021-06-24 13:03:01 -04:00
Tim Griesser
97d5a6d88e chore: fix retry flaky tests in net_stubbing_spec (#17104) 2021-06-24 11:48:18 -04:00
Charley DAVID
7a99636c1b Merge branch 'master' into develop 2021-06-24 15:32:55 +00:00
Charley DAVID
006b13f5d0 fix: Better handle preventScroll options when passed to element.focus() (#17054)
* fix: Add missing focus options on intercept

Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
2021-06-24 11:32:19 -04:00
Jennifer Shehane
7f1644668d fix(types): Add includeShadowDom as valid option for .contains() (#17080)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-06-24 10:13:29 -05:00
Lachlan Miller
f880cb0df2 Merge branch 'master' into develop 2021-06-24 13:48:51 +00:00
Lachlan Miller
96af8bf29d fix: bumps deps for npm/vue (#17096) 2021-06-24 08:48:13 -05:00
github-actions[bot]
203263e5b4 chore: Update Chrome (beta) to 92.0.4515.70 (#17097)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
2021-06-24 08:22:44 -05:00
Amir Rustamzadeh
c25a456347 chore(doc): add link to jobs page (#17088) 2021-06-24 08:20:39 -05:00
Zach Bloomquist
39542ef2fd release 7.6.0 [skip ci] v7.6.0 2021-06-23 17:30:24 -04:00
Zach Bloomquist
157a3b907d chore: add showedOnBoardingModal back to allowed state keys (#17086) 2021-06-23 20:26:29 +00:00
Kukhyeon Heo
8f6d55a22f feat: cy.intercept provides req.query. (#16916)
Co-authored-by: Zach Bloomquist <git@chary.us>
2021-06-23 17:40:18 +00:00
Tim Griesser
2bfe26481b refactor: remove project token, unused since 0.19.0 (#17039) 2021-06-23 11:22:59 -04:00
Jennifer Shehane
4c864e3c8e fix: better handle unconventional browser version (#16990) 2021-06-23 08:40:55 -05:00
Lachlan Miller
8e11b2d3b2 chore(server,server-ct): share initPlugins and spec watcher via Server Base class #16974 (#16981)
* move specs store to server

* customize spec directory in store

* share plugins via project base

* shared updated config

* share spec finding logic

* fix test

* share spec store code

* remove comment

* try fixing test

* move code around

* move more code

* share sendSpecList

* comment out line

* comments

* logs

* stub chokidar

* remove stub

* move spec watcher to later in the lifecycle

* refactor watcher

* stub out chikidar

* remove old code

* refactor

* update server-ct

* fix implementation

* fix implementation

* fix test

* update types

* add back check for config

* add comment

* make server base abstract

* fix type

* export interface

* move routes to TS

* update types

* types

* fix types

* correctly pass specs store in test

Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-06-23 10:35:12 +10:00
Zach Panzarino
da3e49bf59 feat: updated scaffolding, new project & user banners, ability to remove scaffolding (#15826)
* update example build scripts

* remove old scaffolding relics

* update

* Fix some issues with scaffolding

* Correctly fix issues with scaffolding

* Replace old onboarding with new banner

* Add ability to remove scaffolded files

* Add banner for new users

* Update tests for new scaffolding

* Compare file sizes before removing

* Add tests for remove file

* Save when user opened cypress rather than boolean

* Update intro link and add tets for banners

* fix small issue

* Update design and copy of onboarding banners

* Update style of new spec file button

* Improve outline button active statE

* Update design of new project a bit more

* Fix specs list tests

* Update banner copy and layout

* Update banner copy and layout

* Switch to docs style alerts

* Fix testing logic

* Update banner styles a bit

* Update banners

* Add confirmation modal for delete specs

* Update tests and fix states

* Upgrade kitchensink dep

* Upgrade kitchen sink version and fix unit tests

* Update integration scaffolding test

* Add further description to warning modal

* Update test for new user and new project case

* Remove check to file tree when removing files

* Update kitchensink version

* Fix edge case where banner could appear when no files have been scaffolded

* Fix tests

* Update styling for 'note' when deleting files

* fix issue with path on windows

* Change remove command

* Fix rm dir

* Fix for windows

* Try to use appveyor to test

* appveyor please

* getting some feedback

* Why doesn't this work

* more info

* I have a feeling this works

* maybe its the other path

* please

* this is the one

* this is it

* this should work

* try reverting that change that might not be needed

* remove appveyor testing scaffolding

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-06-22 10:59:47 -05:00
Scott Gunther
03ab08d38f fix: warn on EPERM for project directory just like EACCES (#16934) 2021-06-22 14:41:32 +00:00
Luke Page
56bcbb61e6 fix(webpack-preprocessor): hanging issues with webpack 5 (#15611)
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
2021-06-22 09:38:32 -04:00
Chris Breiding
fafc7b083a Merge branch 'master' into develop 2021-06-21 19:41:53 +00:00
Chris Breiding
e1d22561b3 fix(webpack-batteries-included-preprocessor): Disable loading babel config files (#16980) 2021-06-21 15:41:17 -04:00
Zach Bloomquist
5586059653 fix: add code signing certificate details for Windows build (#16946)
Co-authored-by: minijus <3633549+minijus@users.noreply.github.com>
2021-06-21 16:19:20 +00:00
Ben Kucera
5920da7096 chore(test): fix setting packages/driver tests retries (#17036) 2021-06-21 10:59:03 -05:00
github-actions[bot]
d0b809cab0 chore: Update Chrome (stable) to 91.0.4472.114 (#17005)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
2021-06-20 20:40:42 -04:00