Commit Graph

13033 Commits

Author SHA1 Message Date
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
Zach Bloomquist bcee62fe94 chore: remove outdated driver integration tests (#7589) 2020-06-05 12:59:19 +06:30
Jennifer Shehane aa17ccd077 Replace @cypress/underscore.inflection dep (#7583) 2020-06-05 12:44:04 +06:30
Zach Bloomquist 9ea49792d0 cleanup decaf 2020-06-04 17:06:23 -04:00
decaffeinate 76ddf33561 decaffeinate: Run post-processing cleanups on index.coffee and 138 other files 2020-06-04 15:28:24 -04:00
decaffeinate aa368c471d decaffeinate: Convert index.coffee and 138 other files to JS 2020-06-04 15:26:17 -04:00
decaffeinate d3ac20f3dc decaffeinate: Rename index.coffee and 138 other files from .coffee to .js 2020-06-04 15:25:36 -04:00
Zach Bloomquist 29982b4677 Merge pull request #7588 from cypress-io/decaf-server 2020-06-04 15:05:02 -04:00
Zach Bloomquist fe785749e8 server decaf cleanup
cleanup
2020-06-04 14:48:33 -04:00
Gleb Bahmutov 0c6442448e internal: add ability to test recipe and particular PR (#7585) 2020-06-04 14:47:54 -04:00
decaffeinate e7d1f313b0 decaffeinate: Run post-processing cleanups on api.coffee and 35 other files
decaffeinate: Run post-processing cleanups on reporter.coffee
2020-06-04 14:03:03 -04:00
decaffeinate 0f035b976c decaffeinate: Convert api.coffee and 35 other files to JS
decaffeinate: Convert reporter.coffee to JS
2020-06-04 14:03:01 -04:00
decaffeinate c7dd989893 decaffeinate: Rename api.coffee and 35 other files from .coffee to .js
decaffeinate: Rename reporter.coffee from .coffee to .js
2020-06-04 14:02:58 -04:00
Ben Kucera 4cfcae28f0 feat: test config overrides (#5346)
* decaffeinate: Rename browser.coffee from .coffee to .js

* decaffeinate: Convert browser.coffee to JS

* decaffeinate: Run post-processing cleanups on browser.coffee

* temp 02/14/20 [skip ci]

* add beforeEachRestoreRunner to select specs, remove support file hook

* temp 03/03/20 [skip ci]

* fix more specs due to support file change

* fix errored spec

* add isInteractive config to many specs

* update yarn.lock

* use yarn.lock from develop

* fix nested suite configurations

* fix nested suite configurations 2

* force isInteractive in driver/support file

* update more specs to use test config format

* update more specs to use test config format 2

* update more specs to use test config format 3

* update more specs to use test config format 4

* update more specs to use test config format 5

* fix cli/types tests, unit tests

* cleanup

* allow .isBrowser to support array, use .isBrowser for per-test-config

* allow null browser test/suite config value

* temp 04/10/20 [skip ci]

* restore test originalTitle when skip due to browser

* add tests for per-test-config baseUrl

* update .isBrowser error message

* fix rerunning hooks on top navigation

* rename duplicate issue number

* up timeout for server/integration test

* change test to be more specific

* rename TestOptions, add baseUrl test, override xit xdescribe methods

* add tests for xit/xdescribe

* disable video for flaky e2e test

* fix lint-types, e2e snapshot

* try 2: fix rerun before/after hooks

* temp 04/29/20 [skip ci]

* 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

* perf: faster lookup for hooks without runnables

* fix afterAll hook switch logic

* backport to before/after fix

* backport to before/after fix 2

* fix noExit passed to e2e test inline options

* remove extra root afterhook check

* add issue link..twice

* cleanup function to arrows

* remove Cypress object proxying related code for certain utils

* use getTest() as we did previously

* remove Cypress object proxying related code for certain utils

* fix Cypress._RESUMED_AT_TEST access

* fix Cypress._RESUMED_AT_TEST access 2

* fix runner.getResumedAtTestIndex, state accesses

* fix firefoxgcinterval access

* fix arrow function

* fix firefoxgcinterval access

* try a simpler way to fix afterAll hook issue

* fix decaf after merge

* cleanup internal-types.d.ts

* fix internal-types

* fix comment, getTestFromRunnable signature

* remove unneeded lastTestInSuiteLogic

* fix after merge: many decaffed specs, typedefs

* minor cleanup

* fix typedefs: add taskTimeout

* minor typedef fix, fix more specs modifying config()

* fix e2e snapshot

* fix flake: waiting_spec cancel outstanding XHR between tests

* fix flake

* change config mutation logic, add tests, update typedefs

* add env support to testConfigOverride

* fix specs: remove isInteractive override, add to beforeEach

* move testConfigOverride to file

* finish moving local config logic to cy.js

* fix typedefs cypress.d.ts

* fix minor minor dtslint

* minor spec cleanup

* chunk: typescript spec fixes, bind Cypress.$

* apply chunk: typescript spec fixes, bind Cypress.$

* fix stop-only

* fix stop-only 2

* extend the jqueryProxyFn in the constructor

* remove experimental code

* rename spec files for overrides, cleanup

* rename snapshots + tests to match updated test config overrides

* fix firefox flake: navigation_spec

Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2020-06-04 11:26:11 -04:00
Kukhyeon Heo 128f2eb69e Add type for Cypress.automation (#7573) 2020-06-04 21:34:33 +06:30
Zach Panzarino 33afb71a4a Move stack trace below code frame in runner (#7564)
* Start by moving stack trace below

* Set up positioning for print button

* Fix old styling

* Move print to console button

* slight UI update

* Fix hover/focus issue

* Better keyboard support for print to console

* Minor styles update

* Remove need for additional header class

* Update tests

* Fix unit tests

* Remove old param

Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
2020-06-04 10:47:21 -04:00
Ben Kucera 4f385417b6 chore: typescript spec fixes, bind Cypress.$ (#7580)
* apply chunk: typescript spec fixes, bind Cypress.$

* fix stop-only

* fix stop-only 2

* extend the jqueryProxyFn in the constructor

* remove experimental code

* use the default ts export

* use the default ts export for .js files too

Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2020-06-03 18:39:46 -04:00
Ben Kucera 9bf11b6408 fix flake: waiting_spec, xhr_spec, timers_spec (#7556) 2020-06-03 13:32:17 -04:00
Ben Kucera f93f46cde8 fix typedefs for cy.screenshot options, Cypress.log (#7445) 2020-06-03 12:26:59 -04:00
Gleb Bahmutov 3b40f74d86 internal: add env variable to force scaffolding (#7558) 2020-06-03 09:54:19 -04:00
Zach Bloomquist fbb6c425ac fix(rewriter): make workers self-exit to avoid SIGABRTs (#7572) 2020-06-03 09:16:15 -04:00
renovate[bot] bdcfe42f79 chore(deps): Update dependency @percy/cypress to version 2.3.1 🌟 (#7550)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-02 21:30:34 +06:30
Chris Breiding 76d96a18d4 Fix loading mappings.wasm on authenticated URLs (#7555) 2020-06-02 14:01:00 +06:30