Commit Graph

1094 Commits

Author SHA1 Message Date
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
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
Zach Bloomquist f305f8b10c chore: make NODE_OPTIONS fork with --inspect args (#7711) 2020-06-15 21:54:30 -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
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] 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
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
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
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
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
Ben Kucera 0f667149d9 fix flake: add delay before ensureSymlink (#7625) 2020-06-08 17:23:39 -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
Zach Bloomquist 1875027073 chore: decaffeinate server tests, scripts, other files (#7591) 2020-06-05 15:12:53 -04:00
Ben Kucera c98eab2933 fix not running some server/unit tests in CI (#7600) 2020-06-05 12:05:20 -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
Zach Bloomquist fe785749e8 server decaf cleanup
cleanup
2020-06-04 14:48:33 -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
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
Gleb Bahmutov 3b40f74d86 internal: add env variable to force scaffolding (#7558) 2020-06-03 09:54:19 -04:00
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
Chris Breiding a074302e40 Add better handling for errors thrown in fail handler (#7513) 2020-06-01 15:27:41 -04:00
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
Zach Panzarino aecd376a14 Update browser not supported message (#7375) 2020-05-29 10:09:22 +06:30
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
Ben Kucera c392ac82fd [internal] fix flake: bump interval for 5_spec_isolation (#7504) 2020-05-27 14:39:26 -04:00
Gleb Bahmutov 7591baa9eb fix: load TS plugins and support files (#7463)
Co-authored-by: Zach Bloomquist <github@chary.us>
2020-05-27 10:38:33 -04:00
Zach Panzarino 9f97f72e1f Fix back to tests button (#7425) 2020-05-27 09:35:21 +06:30
Zach Panzarino 51127df4dd Update error message when pluginsFile does not export a function (#7381) 2020-05-26 15:29:35 +06:30
Chris Breiding 04169342e4 Fix flaky e2e plugins test (#7444) 2020-05-21 10:49:12 -04:00
Chris Breiding a3fbab0fc8 Handle webpack protocol file opening (#7296)
Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2020-05-19 13:59:09 -04:00
Zach Bloomquist 82fcae5754 chore(tests): only run 1 e2e test with forced SameSite support (#7399) 2020-05-19 12:27:11 -04:00
Zach Bloomquist 96c551cecf fix(rewriter): rewrite accesses to document.location (#7418) 2020-05-19 12:26:40 -04:00
Jennifer Shehane 5299e83de6 Fix flaky internal test: e2e domain passes [firefox] (#7410) 2020-05-19 21:05:56 +06:30
renovate[bot] 8b4ded888e fix(deps): Update dependency image-size to version 0.8.3 🌟 (#7408) 2020-05-19 14:45:02 +06:30
renovate[bot] 4ea613e58e fix(deps): update dependency cookie-parser to version 1.4.5 🌟 (#7389) 2020-05-18 09:11:48 -04:00
renovate[bot] 0c3787b7c2 fix(deps): Update dependency jimp to version 0.12.0 🌟 (#7390) 2020-05-18 16:53:36 +06:30
Jennifer Shehane 6195e7fd87 Replace forked dep with current xvfb-maybe version (#7253) 2020-05-18 14:48:06 +06:30
Zach Bloomquist 5a4e339789 fix(server): increase timeout when making Marionette connection (#7372) 2020-05-15 17:30:29 -04:00