-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cypress v4.0 #4226
Cypress v4.0 #4226
Commits on May 17, 2019
-
remove Node 4 support, bump packages that were previously approved bu…
…t did not support Node 4 (#4208) * remove Node 4 support, bump packages that were previously approved but had removed Node 4 support * Update snapshots to reflect whitespace changes made in commander dep * bump supports-color dep (was previously not updated due to lack of Node 4 support)
Configuration menu - View commit details
-
Copy full SHA for 875e07f - Browse repository at this point
Copy the full SHA 875e07fView commit details
Commits on May 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for fcdb616 - Browse repository at this point
Copy the full SHA fcdb616View commit details -
Configuration menu - View commit details
-
Copy full SHA for 523e3da - Browse repository at this point
Copy the full SHA 523e3daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59ab85b - Browse repository at this point
Copy the full SHA 59ab85bView commit details -
Yield null from cy.writeFile (#2731)
- Fixes #2466 - [Docs PR](cypress-io/cypress-documentation#1117) Should be part of 4.0.0
Configuration menu - View commit details
-
Copy full SHA for ce8f0ee - Browse repository at this point
Copy the full SHA ce8f0eeView commit details -
Upgrade Sinon to 7.1.1 (#2881)
- Fixes #2866
Configuration menu - View commit details
-
Copy full SHA for 3de8a84 - Browse repository at this point
Copy the full SHA 3de8a84View commit details -
* Initial upgrade changes * Some quick fixes * More fixes * Clean up exp logic and fix spread array failures * Remove caret from package.json * Add handling for proxies in isJquery * iterate on flaky test, increase default command timeout
Configuration menu - View commit details
-
Copy full SHA for 25f2a6d - Browse repository at this point
Copy the full SHA 25f2a6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cc1460 - Browse repository at this point
Copy the full SHA 3cc1460View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34dcaba - Browse repository at this point
Copy the full SHA 34dcabaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f87aeb - Browse repository at this point
Copy the full SHA 6f87aebView commit details -
Configuration menu - View commit details
-
Copy full SHA for a99aa66 - Browse repository at this point
Copy the full SHA a99aa66View commit details -
Configuration menu - View commit details
-
Copy full SHA for bda92da - Browse repository at this point
Copy the full SHA bda92daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29fcda2 - Browse repository at this point
Copy the full SHA 29fcda2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 791c8b6 - Browse repository at this point
Copy the full SHA 791c8b6View commit details
Commits on May 24, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7b5cfb1 - Browse repository at this point
Copy the full SHA 7b5cfb1View commit details
Commits on May 28, 2019
-
Upgrade @cypress/browserify-preprocessor to 2.1.0 (#4308)
* upgrade @cypress/browserify-preprocessor to 2.1.0 * fix failing tests * update snapshot
Configuration menu - View commit details
-
Copy full SHA for cae9fa7 - Browse repository at this point
Copy the full SHA cae9fa7View commit details
Commits on May 31, 2019
-
Configuration menu - View commit details
-
Copy full SHA for aaa39d1 - Browse repository at this point
Copy the full SHA aaa39d1View commit details
Commits on Jun 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3dd31e9 - Browse repository at this point
Copy the full SHA 3dd31e9View commit details
Commits on Jun 26, 2019
-
Merge branch 'develop' into v4.0-release
# Conflicts: # cli/__snapshots__/cli_spec.js # packages/driver/test/cypress/integration/cypress/cypress_spec.coffee # packages/server/package.json
Configuration menu - View commit details
-
Copy full SHA for 11ff857 - Browse repository at this point
Copy the full SHA 11ff857View commit details -
Configuration menu - View commit details
-
Copy full SHA for afde638 - Browse repository at this point
Copy the full SHA afde638View commit details
Commits on Aug 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3088447 - Browse repository at this point
Copy the full SHA 3088447View commit details
Commits on Oct 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 006bf51 - Browse repository at this point
Copy the full SHA 006bf51View commit details -
Configuration menu - View commit details
-
Copy full SHA for fefb42c - Browse repository at this point
Copy the full SHA fefb42cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34f31fe - Browse repository at this point
Copy the full SHA 34f31feView commit details -
these are only used in integration tests
Configuration menu - View commit details
-
Copy full SHA for cbd871f - Browse repository at this point
Copy the full SHA cbd871fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dabf4a1 - Browse repository at this point
Copy the full SHA dabf4a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bb6f72 - Browse repository at this point
Copy the full SHA 3bb6f72View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce3c761 - Browse repository at this point
Copy the full SHA ce3c761View commit details -
require driver dom directly in reporter
import the entire driver caused all of its dependencies to be loaded, which caused conflicts due to different versions of mocha
Configuration menu - View commit details
-
Copy full SHA for 9dd32f3 - Browse repository at this point
Copy the full SHA 9dd32f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a757cee - Browse repository at this point
Copy the full SHA a757ceeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35d45d4 - Browse repository at this point
Copy the full SHA 35d45d4View commit details
Commits on Oct 30, 2019
-
mocking the driver require wasn’t working, so this accomplishes it in another way
Configuration menu - View commit details
-
Copy full SHA for 89c0ed1 - Browse repository at this point
Copy the full SHA 89c0ed1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6f79af - Browse repository at this point
Copy the full SHA d6f79afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ff6c04 - Browse repository at this point
Copy the full SHA 0ff6c04View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbb9a8d - Browse repository at this point
Copy the full SHA bbb9a8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82c76d7 - Browse repository at this point
Copy the full SHA 82c76d7View commit details
Commits on Oct 31, 2019
-
Configuration menu - View commit details
-
Copy full SHA for dd49d23 - Browse repository at this point
Copy the full SHA dd49d23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ecbacc - Browse repository at this point
Copy the full SHA 3ecbaccView commit details
Commits on Nov 26, 2019
-
Remove support for Node 6 (#5632)
* Bump required node version of cli to 8.0.0+ * Bump chalk to 3.0.0 - previously required Node 8 support * bump debug to 4.1.1 - Drops Node 4 support, adds Node 10 support - They mentioned no breaking changes, so we’ll see. * bump is-ci to 2.0.0 - removes Node end of lives - supports more CIs for detection * bump is-installed-globally - drops support for Node 6 + improvements on detection * bump log-symbols dep - requires Node 8 * bump supports-color - Requires Node 8 * bump untildify - require Node 8 * bump commander to 4.0.1 - require Node 8 - may break some snapshots - they changed some quotes like 'this' instead of `this' * bump execa to 3.3.0 - removes Node 6 support - some breaking changes, but I didn’t find us using any of them on first pass. * bump cachedir * bump fs-extra Drops various node version support including 6 * bump bluebird * bump ramda
Configuration menu - View commit details
-
Copy full SHA for 299f0df - Browse repository at this point
Copy the full SHA 299f0dfView commit details
Commits on Dec 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f2600b5 - Browse repository at this point
Copy the full SHA f2600b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d84fdbd - Browse repository at this point
Copy the full SHA d84fdbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for be25eef - Browse repository at this point
Copy the full SHA be25eefView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5bc9a0 - Browse repository at this point
Copy the full SHA d5bc9a0View commit details
Commits on Dec 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 62fde51 - Browse repository at this point
Copy the full SHA 62fde51View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0eddc2 - Browse repository at this point
Copy the full SHA a0eddc2View commit details
Commits on Jan 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c491a3e - Browse repository at this point
Copy the full SHA c491a3eView commit details
Commits on Jan 30, 2020
-
cy.contains() improvements: normalizing whitespaces, case-sensi… (#5653)
* migrate vscode eslint settings * Handles whitespaces with newlines. * Feature: contains() matches case insensitivity * Fixed merge conflicts. * Fixed conflicts. * Added option type, CaseMatchable. * Fixed lint error. * Added test for leading/trailing spaces. * Add an error message for regex and matchCase conflict. * Fix the valid case that throws an error. * Fix how error message is thrown. * update some cli deps that have fallen out of date since last commit * update cli snapshot Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com> Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com> Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7ff91ed - Browse repository at this point
Copy the full SHA 7ff91edView commit details -
* upgrade mocha to 7.0.1 * enableTimeouts: false -> timeout: false * upgrade sinon to 8.1.1 * sinon.sandbox.create -> sinon.createSandbox
Configuration menu - View commit details
-
Copy full SHA for 1086e78 - Browse repository at this point
Copy the full SHA 1086e78View commit details -
something is wrong with coffeescript compiling, where a syntax error in the test file also gets thrown as an error in the support file, but inconsistently, causing this e2e test snapshot to be flaky. solution for now is to avoid coffeescript for that test file.
Configuration menu - View commit details
-
Copy full SHA for 0257b0a - Browse repository at this point
Copy the full SHA 0257b0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab78117 - Browse repository at this point
Copy the full SHA ab78117View commit details
Commits on Jan 31, 2020
-
* update browser types and list * add todo * first pass of changes * remove 'server' mode, since it is unused * use foundbrowser type for eletron definition * fix server unit tests * update --browser arg to allow name:channel * improve backwards compatibility impl * update 3_config_spec snapshot * fix 2_headless_spec * fix 5_stdout_spec * update browser icon stuff * update 5_spec_isolation_spec snapshot * Chrome Canary => Canary * update user-facing types * fix displayName type * add debug logs * fix cypress_spec * taps * update config.json
Configuration menu - View commit details
-
Copy full SHA for 0e82cde - Browse repository at this point
Copy the full SHA 0e82cdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0784af7 - Browse repository at this point
Copy the full SHA 0784af7View commit details
Commits on Feb 3, 2020
-
detect Microsoft Edge and Edge Canary browsers and allow runnin… (#6181)
* feat: add microsoft edge support * feat: support edge dev * feat: support windows edge canary and edge dev * test: update snapshots * fix lint errors * edge dev -> edge * trigger windows build * run kitchensink tests on Chrome and Edge on AppVeyor * update browser types * add Edge Beta + Edge Dev * move edge stable to top of list Co-authored-by: Yousaf Nabi <yousafn@gmail.com> Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com> Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com> Co-authored-by: Zach Bloomquist <github@chary.us>
Configuration menu - View commit details
-
Copy full SHA for 4a01cda - Browse repository at this point
Copy the full SHA 4a01cdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45efc7c - Browse repository at this point
Copy the full SHA 45efc7cView commit details -
Add test for cy.spy, cy.stub.callThroughWithNew on constructors (#6310)
* add test for stub.callThroughWithNew on constructor * add test for spy on constructor * use patch-package for now
Configuration menu - View commit details
-
Copy full SHA for 5177fa3 - Browse repository at this point
Copy the full SHA 5177fa3View commit details
Commits on Feb 4, 2020
-
Prep 4.0 launcher improvements (#6311)
* async/await-ify chrome.ts, update e2e.js * remove psInclude * bump snap-shot-it, remove patch-package * fix failing tests, tighten up code * remove unused Promise.all * more code cleanup from coffeescript conversion * fix expectedExitcode * update snapshot with cross origin error message * more code cleanup from coffeescript conversion * remove global state, cleanup normalizing stdout in snapshots * fix asserting on the expected exit code * remove firefox a default browser in e2e tests * remove dupe const * make onStdout return first arg by default * make expectedExitCode: 0 the default, remove duplicate option from all e2e tests * reuse _getArgs() properly, tighten up dupe code, move perf e2e tests to use new e2e.it helpers * make e2e test pass properly, and capture snapshot - this was being overlooked because expectedExitCode wasn’t being set (until now its the default) * revert firefox specific changes to reduce PR diff * remove newline Co-authored-by: Brian Mann <brian.mann86@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for dca481a - Browse repository at this point
Copy the full SHA dca481aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 24d0e26 - Browse repository at this point
Copy the full SHA 24d0e26View commit details
Commits on Feb 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 259a65e - Browse repository at this point
Copy the full SHA 259a65eView commit details -
deprecated before:browser:launch event (#6293)
* deprecate old API for before:browser:launch * trigger ci * allow chrome preferences to be overwritten in before:browser:launch * add e2e test for chrome preferences * add launchOptions.windowSize, refactor plugin handling into browser/utils * async/await-ify chrome.ts, update e2e.js * add padding to warning, allow more than 1 warning in run mode * remove psInclude * bump snap-shot-it, remove patch-package * fix failing tests, tighten up code * remove unused Promise.all * more code cleanup from coffeescript conversion * fix expectedExitcode * update snapshot with cross origin error message * more code cleanup from coffeescript conversion * remove global state, cleanup normalizing stdout in snapshots * fix asserting on the expected exit code * remove firefox a default browser in e2e tests * remove dupe const * make onStdout return first arg by default * remove only * make expectedExitCode: 0 the default, remove duplicate option from all e2e tests * fix test for electron * reuse _getArgs() properly, tighten up dupe code, move perf e2e tests to use new e2e.it helpers * make e2e test pass properly, and capture snapshot - this was being overlooked because expectedExitCode wasn’t being set (until now its the default) * revert firefox specific changes to reduce PR diff * remove newline * temp 02/04/20 [skip ci] * add more scenarios / return values * rename plugin deprecation project fixture * prevent warnings in run mode from being called multiple times in the same browser launch - add plugin integration tests - cleanup some promise code in browsers/chrome - refactor the e2e deprecation tests * update e2e deprecation specs, test that deprecation warning is displayed once per spec on a run * cleanup let -> const, coffescript conversion * bump snap-shot-it, remove patch-package (cherry picked from commit ba23be5) * bump cli snap-shot-it * cleanup: let -> const, parseFloat, formatting * revert cross origin normalization * fix spacing * add types for plugin events * dont pad warning message in run mode * add e2e test for adding extensions before:browser:launch * fix failing electron unit test, consolidate creating default launch options * add extensions for electron + warning if install fails * fix failing tests, yield the right before:browser:launch args signature * e2e test electron via devtools extension * remove .only * add stdout assertions to e2e/1_deprecated_spec * remove snapshot whitespace * rename deprecation event * update deprecated browser launch args warning message * throw error on unexpected bbl property * add tests for warning + error on bbl * update snapshot * revive 2 useful tests to validate how launchOption args are merged * try fix e2e fullscreen spec, update snapshots * tighten up code for throwing errors on unknown launch options properties - list out the unknown and expected properties using existing conventions - tighten up the error message a bit * rename options -> launchOptions, add e2e test for adding unknown properties to launchOptions, removed dupe snapshots * fix fullscreen e2e test * only push user gesture arg if chromium * add e2e tests for throwing + rejecting errors, run e2e tests on all browsers, avoid ps logic only in electron * remove conditional args in fullscreen test * dont automatically install the latest version of chrome in circle * add stubs for new electron properties * switch from using port 5555 to 5544 to avoid common conflicts * temporarily commenting out windowSize launchOption so release is unblocked and all tests pass - can add it back in later once the e2e tests pass in CI * make the path to chrome profile correctly dynamic to account for all operating systems * remove magic length(8) and slice out the first 4 custom args set from the plugin launch options * add back --start-maximized in chrome * deleting windowSize-related code... for now! Co-authored-by: Zach Bloomquist <github@chary.us> Co-authored-by: Brian Mann <brian.mann86@gmail.com> Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9417614 - Browse repository at this point
Copy the full SHA 9417614View commit details -
Remove
--browser canary
backwards-compatibility (#6333)* remove --browser canary compatibility * update warning when canary is passed * add tests for --browser canary warning * Update packages/server/test/unit/browsers/browsers_spec.coffee
Configuration menu - View commit details
-
Copy full SHA for 291a354 - Browse repository at this point
Copy the full SHA 291a354View commit details -
Define types for plugin events (#6322)
* define types for plugin events * add plugins file TS test * fix plugins return type * add void returns where allowed * config can be partial * add async test * cannot return unknown keys in config * add more tests * add Task types and tests * fix style issues * update task type with compromise, remove redundant tests * fix type * bump kitchensink dep * add typescript reference and jsdoc to plugins scaffold file * update scaffold snapshot * add more tests for before:browser:launch * fix return type Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com> Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4b4842e - Browse repository at this point
Copy the full SHA 4b4842eView commit details -
- Windows.resetExtensions => removeAllExtensions - remove all extensions before installing too
Configuration menu - View commit details
-
Copy full SHA for 7019a0b - Browse repository at this point
Copy the full SHA 7019a0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5abec9d - Browse repository at this point
Copy the full SHA 5abec9dView commit details
Commits on Feb 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for aa1cc0d - Browse repository at this point
Copy the full SHA aa1cc0dView commit details -
Co-authored-by: Ben Kucera <14625260+Bkucera@users.noreply.github.com> Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com> Co-authored-by: Brian Mann <brian.mann86@gmail.com> Co-authored-by: Zach Bloomquist <github@chary.us> Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d76123b - Browse repository at this point
Copy the full SHA d76123bView commit details