Commit Graph

13055 Commits

Author SHA1 Message Date
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
Gleb Bahmutov b1378d11a3 handle browser cases without custom subfolder (#7624) 2020-06-08 13:56:25 -04:00
James Garbutt a7ff8fddc2 add some shadow dom support (#7469)
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
2020-06-08 13:05:32 -04:00
renovate[bot] 7597bf9463 fix(deps): update dependency chrome-remote-interface to version 0.28.2 🌟 (#7615)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-08 16:08:09 +06:30
Ben Kucera 7954c59bb0 Merge pull request #7608 from cypress-io/meta-fix-develop-history 2020-06-05 16:24:14 -04:00
Zach Bloomquist 1875027073 chore: decaffeinate server tests, scripts, other files (#7591) 2020-06-05 15:12:53 -04:00
Ben Kucera ea4c98d0dc fix decaf header, server/test/e2e 2020-06-05 14:52:46 -04:00
Zach Bloomquist 30137e534f fix tests after decaffeination 2020-06-05 13:58:38 -04:00
Zach Bloomquist 7805fb8ad7 Merge remote-tracking branch 'origin/develop' into decaf-server-tests-and-more 2020-06-05 12:13:46 -04:00
Ben Kucera c98eab2933 fix not running some server/unit tests in CI (#7600) 2020-06-05 12:05:20 -04:00
renovate[bot] c7dfb788d6 chore(deps): Update dependency electron to version 8.3.1 🌟 (#7599) 2020-06-05 11:28:17 -04:00
Ben Kucera dbac98326e [internal] run electron e2e specs ONLY once, fix ui-component deps, minor spec c… (#7587)
Co-authored-by: sainthkh <sainthkh@naver.com>
2020-06-05 11:06:42 -04:00
Kukhyeon Heo 82e23e59fc Improve command name readability. (#7527)
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2020-06-05 20:58:32 +06:30
Zach Panzarino 79fecd9af9 Add spec header with link to open file in editor (#7515)
Co-authored-by: Chris Breiding <chrisbreiding@gmail.com>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2020-06-05 13:03:04 +06:30