Commit Graph

13068 Commits

Author SHA1 Message Date
Chris Breiding
29ca809efe release 4.9.0 [skip ci] v4.9.0 2020-06-23 13:31:50 -04:00
Gleb Bahmutov
653739bb5c Handle --project "" command line argument (#7744)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-06-22 14:34:59 -04:00
Zach Bloomquist
6423b352da chore: clean up postProcessRecording code (#7777) 2020-06-22 14:08:42 -04:00
Zach Bloomquist
bf752f1b2e fix: correct bad propagation of exit signals (#7755) 2020-06-22 14:05:04 -04:00
Steve
768da16a5e feat: add quiet cli arg/module option (#7714)
* Option to disable Cypress the verbose results to stdout

--quiet mode to disable the verbose results to stdout
but still use specified formatter

* Update cli/schema/cypress.schema.json

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>

* Cypress module support for --quiet

Cypress module support for --quiet

* Apply suggestions from code review

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

* Address feedback

Address feedback, thanks

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Zach Bloomquist <github@chary.us>
2020-06-22 11:10:35 -04:00
Ben Kucera
baaf24a07e fix dom-highlights rendering under absolute position elements (#7763)
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-06-22 21:23:43 +06:30
renovate[bot]
abe2f3d529 chore(deps): Update dependency angular to version 1.8.0 🌟 (#7754)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-22 15:29:51 +06:30
renovate[bot]
1e2368d336 fix(deps): update dependency signal-exit to version 3.0.3 🌟 (#7738)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-22 15:29:07 +06:30
Zach Panzarino
22e47aa5fe Update license copyright year (#7758) 2020-06-22 11:03:47 +06:30
Zach Panzarino
dc2b50d351 Add UTM parameters to Dashboard login buttons (#7639)
* Add UTM parameters to Dashboard login buttons

* Revert "Add UTM parameters to Dashboard login buttons"

This reverts commit 568f12e3cb.

* Add UTM parameters to Dashboard login buttons

* utmCode camel case

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

* Add desktop-gui integration tests for utm code

* Add server unit tests for utm code

Co-authored-by: Zach Bloomquist <github@chary.us>
2020-06-19 16:53:01 -04:00
Jennifer Shehane
869bcec55c Before XHR URLs are whitelisted, strip query params and hashes (#7742) 2020-06-19 10:35:06 +06:30
Chris Breiding
a2d2c8d42c Fix issue with finding elements in shadow dom under specific conditions (#7746)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2020-06-18 13:32:57 -04:00
Zach Panzarino
7c5819393d Fix issue where command is never fully ended and following assertions are displayed incorrectly (#7734)
* fixes inserting a command as a child when the assertion is outside of a command and the previous command in a hook was a cy.then

* Add test to verify commands are properly closed

* Update test to accurately check for issue

Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2020-06-17 11:29:06 -04:00
renovate[bot]
4fb3f0b325 fix(deps): update dependency moment to version 2.26.0 🌟 (#7718)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-17 13:37:11 +06:30
Ben Kucera
6c6b23f88f isolated runner changes (#6799)
* isolated runner changes

* more fixes for isolated runner, get runner.spec passing

* fix prev commit add untracked files

* add server reporter.spec.js for testing mocha output

* fix has-binary yarn.lock

* fix spec expected error message

* cleanup snapshot utility - use chai assert fn, add test to runner.spec, pin dep

* remove test-retries related tests

* small cleanup diff utility

* move runner.spec to packages/runner

* fix requiring missing file

* fix circle.yml runner-integration-tests

* update readme

* finish refactor of helpers for isolated runner-integration tests

* restore runner/test/eslintrc

* fix .eslintignore

* temp 04/09/20 [skip ci]

* Update readme to reflect how to start server for cypress tests

* try 2: fix rerun before/after hooks

* temp 04/29/20 [skip ci]

* backport changes from test-retries

* change logic to rerun before hooks after top navigation

* fix windowSize for browser e2e test

* fix windowSize for xvfb chrome in e2e test

* ok fine, just disable screenshots

* fix after merge: decaffed navigation.js

* update server/unit test snapshots

* fix after merge: decaffed aliases.js

* fix usage of cypress --parallel flag in circle.yml

* fix circle.yml integration-tests jobs

* fix decaf related typo

* fix circle.yml separate command for runner-integration-tests

* update runner/integration tests + snapshot after error improvements

* fix runner/integration snapshots for chrome/ff stacktrace differences

* rerun ci

* fix passing --parallel to runner-integration tests

* perf: faster lookup for hooks without runnables

* fix afterAll hook switch logic

* backport to before/after fix

* backport to before/after fix 2

* cleanup from decaf, fix ui/package.json

* update helpers, simplify runner.spec

* fix lint-types errors, flaky spec

* fix noExit passed to e2e test inline options

* cleanup snapshot utility - refactor to use util file

* remove before/after changes

* make cy obj a class instance

* cleanup/unmerge before/after fixes PR...

* more cleanup

* add comment

* fix runner.spec

* cleanup snapshot utility more, cleanup reporter.spec

* minor rename variable

* fix specName in reporterHeader, spec_helper require

* replace reporter specPath usages with spec object from config

* cleanup, fix specs, fix types tests

* fix config spec paths in isolated runner, fix snapshot plugin button

* combine runner.spec.js and runner_spec.js

* fix incorrect merge

* minor minor cleanup

* rename driver/test/cypress to driver/test

* use yarn workspace over lerna for individual package commands

* add error message to driver start

* remove usage of wait-on

* update <reference types/>, import string

* fix driver/readme

* fix readmes after regex replace

* revert wait-on changes

* Revert "revert wait-on changes"

This reverts commit 6de684cf34.

* update yarn.lock

* fix broken path in spec

* fix broken paths in specs with @packages/driver

* move runner/test/cypress into runner/cypress

* start server in pluginsFile in runner/cypress tests

* fix more broken spec paths

* fix broken paths after runner/cypress folder move

* move type definition loading for driver/cypress into dedicated file

* move internal-types to "types" folder, fix driver/index.d.ts

* fix type-check in packages/runner. not exactly sure why

* fix runner type-check by excluding test folder in tsconfig

* bump timeout on e2e/8_error_ui_spec

* update snapshot utility, rename tests in runner/runner.spec, fix README yarn commands

* fix snapshot naming, remove redundant test in reporter_spec

* rename runner snapshot file

* address feedback: move server reporter snapshot specs out

* address feedback: add comment about exposing globals

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2020-06-16 14:17:24 -04:00
Zach Panzarino
dc075618bb Command Timeout Progress Bar (#7646)
* Timeout animation

* Add timeout to log object

* Set timeout to log when explicitly overwritten

* No need to display if no timeout

* Throw timeouts everywhere!
I'll clean it up later

* Correctly set timeout indicator regardless of when test is opened

* Slightly modify that

* Update timeout for commands

* Update progress bar for consistent progress

* Fix issue with flashing full progress bar after complete

* Add test for progress

* Move progress bar to function

* Update unit test

* Move more command progress to css

* No progress bar for xhr

* Fix unit test

* Adding tests for progress indicator

* Fix some types

* Add e2e tests for progress bar

* Remove timeout progress from assertion logs

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2020-06-16 12:43:46 -04:00
Zach Bloomquist
f305f8b10c chore: make NODE_OPTIONS fork with --inspect args (#7711) 2020-06-15 21:54:30 -04:00
Zach Panzarino
6d2e7924fe Add spec loading state and animation (#7709)
* Add loading state and animation

* Style fixes

* Update packages/reporter/src/runnables/runnables.scss

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2020-06-15 16:52:52 -04:00
Gleb Bahmutov
aed2709637 automatically polyfill window.fetch with XMLHttpRequest (#7597)
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
2020-06-15 11:40:08 -04:00
Jennifer Shehane
f883590eff Update types to allow for alias 'key' for 'keys' with chai chainers (#7687) 2020-06-15 19:55:14 +06:30
renovate[bot]
8683510ba5 chore(deps): update dependency eventemitter2 to version .x 🌟 (#7707)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-15 16:41:02 +06:30
renovate[bot]
f4b685273c chore(deps): Update dependency eventemitter2 to version .x 🌟 (#7705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-15 14:21:43 +06:30
renovate[bot]
5be0bc00c1 fix(deps): Update dependency is-installed-globally to version 0.3.2 🌟 (#7703)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-15 13:36:24 +06:30
Tim Griesser
b20a77ad55 Fix: skip sending stdout on PUT /instances (#7635)
* Fix: skip sending stdout on PUT /instances

* Add comment for why we're setting stdout to null

Co-authored-by: Brian Mann <brian.mann86@gmail.com>

Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2020-06-15 11:05:39 +06:30
Chris Breiding
cf87458ba3 Fix issue where click hangs if subject has a shadow root and shadow dom support is not enabled (#7692) 2020-06-12 14:42:57 -04:00
Kukhyeon Heo
3f3e860fcb chore: fix server/lib/errors.js readability. (#7633) 2020-06-12 09:53:23 -04:00
renovate[bot]
33b514424d fix(deps): update dependency commander to version 4.1.1 🌟 (#7686)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 14:06:14 +06:30
Zach Bloomquist
d3acf91ea6 fix(types): cy.wait yields previous subject (#7682) 2020-06-12 13:38:02 +06:30
renovate[bot]
fe7937c197 fix(deps): update dependency getos to version 3.2.1 🌟 (#7685)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 11:33:51 +06:30
Zach Panzarino
620c2e6b13 Fix links in PR template (#7684) 2020-06-12 11:08:56 +06:30
Jennifer Shehane
ae86622dd3 Update types for configuration values that allow string or false (#7674) 2020-06-12 09:54:25 +06:30
Ben Kucera
b578032fef internal: rename driver/test/cypress to driver/test (#7643)
* rename driver/test/cypress to driver/test

* use yarn workspace over lerna for individual package commands

* add error message to driver start

* remove usage of wait-on

* update <reference types/>, import string

* fix driver/readme

* fix readmes after regex replace

* revert wait-on changes

* Revert "revert wait-on changes"

This reverts commit 6de684cf34.

* update yarn.lock

* fix broken path in spec

* fix broken paths in specs with @packages/driver

* fix more broken spec paths

* move type definition loading for driver/cypress into dedicated file

* move internal-types to "types" folder, fix driver/index.d.ts

* fix type-check in packages/runner. not exactly sure why

* fix runner type-check by excluding test folder in tsconfig

* bump timeout on e2e/8_error_ui_spec

Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2020-06-11 19:11:58 -04:00
renovate[bot]
0e545f9773 fix(deps): update dependency arch to version 2.1.2 🌟 (#7672)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 14:15:43 +06:30
Ben Kucera
f10423051e internal: fix error on yarn add dependency command (#7668) 2020-06-10 19:26:59 -04:00
Ben Kucera
47faf52e16 internal: use yarn workspace over lerna for individual package commands (#7644)
* use yarn workspace over lerna for individual package commands

* remove usage of wait-on

* fix readmes after regex replace

* revert wait-on changes

* update yarn.lock
2020-06-10 18:31:40 -04:00
Zach Bloomquist
0e632635cd chore: rm non-test-related coffeescript references 2020-06-10 10:49:31 -04:00
Zach Bloomquist
4cc301d3c4 cleanup plugin decaf 2020-06-10 10:49:31 -04:00
decaffeinate
935ee52e4e decaffeinate: Run post-processing cleanups on index.coffee and 7 other files 2020-06-10 10:49:31 -04:00
decaffeinate
2c0a15a71e decaffeinate: Convert index.coffee and 7 other files to JS 2020-06-10 10:49:31 -04:00
decaffeinate
e0158be930 decaffeinate: Rename index.coffee and 7 other files from .coffee to .js 2020-06-10 10:49:31 -04:00
Chris Breiding
2d2464a80e Handle uncaught errors thrown as strings (#7637) 2020-06-10 12:20:29 +06:30
Ben Kucera
38cd381b10 replace reporter specPath usage with spec object from config (#7626)
* replace reporter specPath usages with spec object from config

* cleanup, fix specs, fix types tests
2020-06-09 13:46:09 -04:00
renovate[bot]
bb94af9b58 chore(deps): update dependency eslint-plugin-cypress to version 2.11.1 🌟 (#7636)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-09 21:18:12 +06:30
renovate[bot]
2bbf75a628 chore(deps): update dependency cypress-example-kitchensink to version 1.11.1 🌟 (#7634)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-09 20:32:39 +06:30
Kukhyeon Heo
d0043ff4fd fix: Cypress.Commands.add Type Signature for @typescript-eslint/no-misused-promises rule (#7547) 2020-06-09 09:42:27 -04:00
Jennifer Shehane
eed4934885 chore: move instructions for code reviews into Contributing guide (#7630) 2020-06-09 09:18:54 -04:00
renovate[bot]
fedd30cb36 fix(deps): update dependency jimp to version 0.13.0 🌟 (#7618)
* fix(deps): update jimp to 0.13.0 🌟

* Bump max linux filesize for binary

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2020-06-09 15:26:17 +06:30
Kukhyeon Heo
fa4c3aba66 Make should('have.value') work with <progress>, <meter>, <li> (#7621)
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
2020-06-09 14:52:50 +06:30
Ben Kucera
0f667149d9 fix flake: add delay before ensureSymlink (#7625) 2020-06-08 17:23:39 -04:00
Zach Bloomquist
8203f02f92 release 4.8.0 [skip ci] v4.8.0 2020-06-08 16:32:19 -04:00