Commit Graph

328 Commits

Author SHA1 Message Date
Emily Rohrbough
b7002bfd52 fix: test config overrides leak for .only execution (#18961) 2021-11-22 10:10:13 -05:00
Tim Griesser
e4f5b106d4 feat: use hoisted yarn install in binary build (#17285) 2021-11-20 14:19:51 -05:00
Kukhyeon Heo
002fbdda60 fix: show call count even if cy.stub().log(false). (#18907)
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2021-11-19 10:03:22 -05:00
Manuel Abascal
e9accb4c8d fix: wrap playground selectors in double quotes if not included (#18442)
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
2021-11-18 16:23:57 -05:00
Blue F
81626870bf fix: Loading of specs with % in the filename (#18877) 2021-11-17 08:27:40 -08:00
Emily Rohrbough
99c8d466c8 feat: create config package for config validation (#18589) 2021-11-09 13:19:05 -06:00
Blue F
776b7301fd feat: Add 'slowTestThreshold' and fix this.slow() inside specs (#18496)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-10-25 14:49:32 -04:00
Jessica Sachs
a045e4f59a chore: move server e2e tests to system-tests (#16354)
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-10-18 19:53:14 +00:00
Kukhyeon Heo
af472b6419 fix: revive type checker (#18172)
Co-authored-by: Zach Bloomquist <github@chary.us>
2021-10-13 23:51:38 +00:00
David Munechika
bc21574d01 feat(driver): Add overwrite option to Cypress.Screenshot.defaults (#18457) 2021-10-13 13:34:29 -04:00
Ben Kucera
9f9cf9e8b6 chore: fix broken firefox focus tests, bump resource class of chrome-beta job (#18133) 2021-09-21 09:34:48 -04:00
Jessica Sachs
901338866a chore: converting packages/driver to be esm 2021-09-07 13:28:16 -04:00
Chris Breiding
55ef4c3a11 chore: Prevent unnecessary files from being included in the binary (#17957) 2021-09-06 21:00:30 -04:00
Lachlan Miller
ea287d7a23 fix(server): use run#run instead of run#ready to replicate e2e exit behavior in CT (#17894)
Co-authored-by: Zach Bloomquist <git@chary.us>
2021-08-26 15:57:26 +00:00
Ben Kucera
6f32561d6f feat: add session support (#14350) 2021-08-04 10:23:45 -04:00
Zach Bloomquist
2454c19afb feat: proxy logging (#16730)
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2021-08-02 21:10:19 +00:00
Zach Panzarino
b25d09f9a2 feat: abilty to add assertions in Cypress Studio (#16295)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-07-22 13:04:24 -04:00
Jennifer Shehane
23edbc0595 Merge branch 'develop' into 8.0-release
# Conflicts:
#	yarn.lock
2021-07-19 11:20:10 -05:00
Zach Panzarino
113d05e7c4 fix(studio): more resilient saving to file (#17297) 2021-07-19 10:45:23 -04:00
Zach Bloomquist
97c03c1f4d chore: remove Firefox < 80 auto garbage collection (#17368) 2021-07-19 14:11:29 +00:00
Jennifer Shehane
5ced6abb2d docs: Add README for some newly added packages (#17283)
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-07-14 09:38:38 -05: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
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
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
Zach Panzarino
d866a7603a feat(studio): add ability to copy commands to clipboard (#16912) 2021-06-25 10:27:28 -05:00
Lachlan Miller
929cac807a chore(runner,runner-ct): reduce duplication with packages/runner-shared (#16866)
* move snapshot-controls to shared package

* share visit-failure component

* share blank-contents

* share message component

* move message styling to shared

* stub scss in unit tests

* remove whitespace

* make dup files match

* share selector playground

* share script error

* share automation-disconnected

* remove old file

* share no-automation

* share error messages

* share errors

* make iframe model files similar

* share iframe-model

* share selector playground

* share style

* share highlight in selector playground

* share dom file

* update import

* share aut-iframe

* wip: shared event manager

* remove CT event manager

* move studio to shared runner package

* fix tests

* use shared event manager in CT runner

* comment back in code

* rename viewporth width/height to width/height

* fix ts errors

* share viewport info

* share header

* revert changed test

* remove old code

* fix tests and move test to shared package

* move tests to shared package

* make container files similar

* share container in runner

* share container

* move test

* move spec

* update tsconfig]

* update headeR

* fix styling

* style

* refactor

* refactor

* reduce public modules

* Update packages/runner-shared/src/event-manager.js

Co-authored-by: Zach Bloomquist <github@chary.us>

* fix percy regression

* fix regression in style

* improve types, try reverting style

* add runner-shared tests to pipeline

Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Barthélémy Ledoux <bart@cypress.io>
2021-06-16 10:22:09 +10:00
Zach Panzarino
400567e8b0 chore: switch fonts to use @fontsource rather than locally maintained version (#16678)
* chore: switch fonts to use @fontsource rather than local version

* Use fontsource for fira instead of custom repo

* Update font weights in reporter

* Update runner ct for fonts

* Fix some issues with runner header

* Update non proxied image

* Try that

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-06-08 08:54:40 -05:00
renovate[bot]
d10694aa8e fix(deps): update lodash to 4.17.21 🌟 (#16406)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-10 11:22:29 -05:00
Zach Bloomquist
20f00f07c5 fix(ui): show req stub/fn when a handler is supplied (#16383) 2021-05-07 18:06:14 +00:00
renovate[bot]
9b75852151 chore(deps): update dependency classnames to version 2.3.1 🌟 (#8337)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2021-05-05 14:35:39 -05:00
Ben Kucera
0fce48787c chore: upgrade percy (#16020)
* upgrade percy
* update yarn.lock
* remove percy/healthcheck
* reduce to one percy version
* fix percy for component testing - dont let component runner overwrite spec globals
* fix type-check
2021-04-26 17:40:33 -04:00
Adam Gastineau
8eaf4b478b feat: Design System Setup (#15776) 2021-04-14 07:03:36 -07:00
Chris Breiding
8b7ef269c5 Merge branch 'develop' into 7.0-release 2021-04-05 14:05:06 -04:00
Zach Bloomquist
9360ae12e4 fix: don't wrap errors thrown by cy.intercept req/res handlers (#15769) 2021-04-05 15:25:56 +00:00
Jennifer Shehane
358628f3b3 chore: Turn on test retries in run mode for other packages (#15714)
Co-authored-by: Zach Panzarino <zachary@panzarino.com>
2021-04-02 14:02:42 -04:00
Jessica Sachs
e657481ff2 Merge branch 'develop' into 7.0-release 2021-03-31 18:00:24 -04:00
Adam Gastineau
fa780634ca Removed experimentalComponentTesting flag 2021-03-29 10:47:52 -07:00
Zach Bloomquist
f6a5d1ea2e feat: change cy.intercept override behavior (#14543) 2021-03-26 18:22:18 +00:00
Zach Bloomquist
16e1577848 Merge remote-tracking branch 'origin/develop' into 7.0-release 2021-03-24 16:27:56 -07:00
Chris Breiding
592c9f935a chore: Fix flaky percy snapshots (#15537) 2021-03-17 21:10:15 -04:00
Zach Bloomquist
8286c0bfb3 Merge remote-tracking branch 'origin/develop' into 7.0-release 2021-03-16 16:02:33 -04:00
Ben Kucera
c0d063c7dd feat: dashboard orchestration (#14925)
* test orchestration

* bump json-schemas

* fix unit

* fix server-ct build

* add @types/node

* add runtime to resolved config, send resolved config to postInstanceTests

* add missing fixture spec, support sending test config for skipped and proper title

* spec prior., refactor recording tests, update specs

* remove unneded utils, fix e2e_record_spec, rename testConfig, fix unit

* fix bug with spec SKIP not stopping test execution

* bump json-schemas

* bump json schemas 2

* refactor exit early and error logic, add runnerCapabilities + bump json schemas

* update yarn.lock

* fix referenceError

* fix: skipAction -> skipSpecAction, muteAction -> muteTestAction

* exit with non-zero for canceled runs, improve messaging for canceled runs

* fixup unit tests

* colorize run cancelation messages
2021-03-15 10:42:11 -04:00
Chris Breiding
97761a1484 feat: Add command log entry for uncaught exceptions (#15344)
Co-authored-by: Zach Bloomquist <github@chary.us>
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2021-03-10 16:04:44 -05:00
Chris Breiding
c4497752d8 feat: Target modern ES with default preprocessor (#15274) 2021-03-10 10:01:05 -05:00
Jennifer Shehane
60ade97454 merg in develop 2021-03-06 11:13:23 -05:00
Peter Stakoun
d7c6f3a63a feat: update reporter empty state and enable studio to add to root (#15144)
Co-authored-by: Zach Panzarino <zachary@panzarino.com>
2021-03-05 20:05:17 -05:00
Zach Bloomquist
a7655d3c20 feat: refactor cy.intercept internals to generic event-based system (#15255) 2021-03-03 18:21:52 +00:00
Chris Breiding
77b922472c fix: Improve uncaught error handling (#14826)
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2021-03-01 09:23:14 -05:00
Jennifer Shehane
da5ca7f21f Merge branch 'develop' into 7.0-release 2021-02-23 20:06:29 -05:00