Commit Graph

13015 Commits

Author SHA1 Message Date
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
Jennifer Shehane 33207aab9f Pin dependencies that were not pinned (#7549)
* Pin dependencies that were not pinned

* yarn lock
2020-06-02 12:44:11 +06:30
Zach Panzarino 095ec75eb0 Fix issue where cy.wrap does not respect timeout option (#7284)
* Testing remove all

* Add functionality to wrap's timeout option

* Fix issues with assertions and promise time outs

* cleanup, modify error message

* update error msg

* fix test after error msg correction

* restore coffee changes

* fix after merge: modify decaffed files

* Fix error messages and update tests

Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com>
2020-06-01 19:12:40 -04:00
Chris Breiding a074302e40 Add better handling for errors thrown in fail handler (#7513) 2020-06-01 15:27:41 -04:00
Zach Panzarino e9143405ca Fix bug where a click on a wrapped inline element would miss (#7344) 2020-06-01 12:11:23 -04:00
renovate[bot] 713eec44eb chore(deps): Update dependency cypress-example-kitchensink to version 1.11.0 🌟 (#7282)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-01 11:33:01 -04:00
Chris Breiding 7a8b58fa2f Fix "Cannot read property '__error' of null" error (#7534) 2020-06-01 15:08:19 +06:30
Chris Breiding be6dccb7bb fix handling of utf-8 characters when decoding source map base64 string (#7537)
* fix handling of utf-8 characters when decoding source map base64 string

* move base64 methods into driver utils, add tests

* remove obselete test
2020-06-01 14:56:28 +06:30
Zach Panzarino 456912e268 Small UI fixes (#7543) 2020-06-01 14:38:47 +06:30
Jennifer Shehane 0c5514f390 Fix focus style on Desktop-GUI nav for Support/Doc links (#7492) 2020-06-01 14:33:48 +06:30
Zach Bloomquist b23ecdfb77 fix: remove word breaks in error locations (#7540) 2020-06-01 14:24:54 +06:30
Jennifer Shehane d2c38d7ea9 Downgrade react and react-dom to 16.8.6 (#7525)
* downgrade react and react-dom to 16.8.6

* Downgrade react/react-dom in all packages since react can't handle multiple versions installed.
2020-05-30 07:52:41 +06:30
Ben Kucera 17cd8c14a5 remove duplicated spec file from decaffeinate (#7535) 2020-05-29 10:42:04 -04:00
Ben Kucera f6613bd6fc fix typedefs: add taskTimeout to cypress config (#7521) 2020-05-29 10:14:25 -04:00
Zach Panzarino aecd376a14 Update browser not supported message (#7375) 2020-05-29 10:09:22 +06:30
Zach Bloomquist c68f2742f7 chore(driver): remove dead code in cy.visit (#7517) 2020-05-28 14:27:42 -04:00
Ben Kucera 9ca6ce25d0 fix rerun before/after hooks on navigation [remerge] (#7154)
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
2020-05-28 11:18:14 -04:00
Chris Breiding 5ac8c72f1f Improve code frame file path design (#7502) 2020-05-27 22:35:34 -04:00
Chris Breiding eaf3f632e0 Improvements to deploy doc (#7505)
Co-authored-by: Zach Bloomquist <github@chary.us>
2020-05-27 22:09:16 -04:00