Commit Graph

15678 Commits

Author SHA1 Message Date
Jennifer Shehane effae98a8e chore: Update config with correct yml [skip ci] (#17284) 2021-07-12 09:04:38 -05:00
Jennifer Shehane f76f2815d8 chore: Turn issue templates into forms (#17268) 2021-07-12 08:33:40 -05:00
Michel EDIGHOFFER e40969abe3 fix: improve React mountHook type (#17241)
* feat(react) : improve mountHook types

* chore: Remove wrapping which causes test failing

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
2021-07-12 17:45:43 +10:00
Barthélémy Ledoux 8fca9322f2 Merge branch 'master' into develop 2021-07-12 02:03:57 +00:00
Barthélémy Ledoux 99f93528c8 fix(vite): autorefresh new spec files (#17270) 2021-07-12 12:03:12 +10:00
mrmeku cf689dd609 feat: Support running cypress as node process (#16505) (#16537)
Co-authored-by: Ben Alman <cowboy@rj3.net>
2021-07-09 09:38:28 -05:00
github-actions[bot] 1cfabbecf7 chore: Update Chrome (beta) to 92.0.4515.93 (#17260)
Co-authored-by: cypress-bot[bot] <2f0651858c6e38e0+cypress-bot[bot]@users.noreply.github.com>
2021-07-09 09:01:38 -05:00
Dario Piotrowicz 9b467b404c fix: update subject when traversing object (for cy.invoke) (#17189)
* update subject when traversing object for cy.invoke

* add driver integration test for issue 3871

* fix driver connectors_spec test broken by cy.invoke changes
2021-07-08 09:53:07 -04:00
Kukhyeon Heo 940f7bfc7a fix: times of cy.intercept doesn't work correctly with req.continue (#17138) 2021-07-07 10:11:48 -05:00
Chris Breiding fdc296e3b9 Merge branch 'develop' 2021-07-07 10:56:07 -04:00
Chris Breiding fa20658455 release 7.7.0 v7.7.0 2021-07-07 10:55:24 -04:00
Tim Griesser c7725b7901 chore: fix mac build (#17223) 2021-07-06 21:21:48 -04:00
Tim Griesser 16516b74b1 fix: copy yarn.lock to packages for deterministic builds (#17218) 2021-07-06 17:51:33 -04:00
Ben Kucera 7fbc617d37 fix: fix broken default reporter resizer (#17214)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-07-06 16:20:46 -05:00
Tim Griesser 770aa8daf6 chore: update yarn.lock to invalidate cache 2021-07-06 16:59:46 -04:00
Tim Griesser ca44464521 fix: revert #17132 use hoisted yarn install in build binary (#17215) 2021-07-06 16:30:33 -04:00
Tim Griesser 6b3ab13a78 [merge] chore: use hoisted yarn install in build binary #17132
note: merge commit rather than squash to preserve git mv renames
2021-07-06 15:50:11 -04:00
Jennifer Shehane 63236d307a fix: Update error to not indicate this 'usually' is due to deps (#17112) 2021-07-06 10:15:21 -05:00
Tim Griesser ce2848656d chore: Update yarn lock 2021-07-06 09:58:30 -04:00
Tim Griesser b2b2a97132 refactor: additional script cleanups 2021-07-06 09:58:29 -04:00
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
semantic-release-bot c592f00f6d chore: release @cypress/schematic-v1.4.2
[skip ci]
@cypress/schematic-v1.4.2
2021-06-29 14:06:37 -04: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