-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency cypress to v12 (#993)
* chore(deps): update dependency cypress to v12 * Converting to Cypress 12 * Updating a few Cypress tests to use intercept * Updating a few more Cypress tests to use intercept * Updating a few more Cypress tests to use intercept * Migrating functional tests to Cypress 12 * Migrating more tests to Cypress 12 * Migrating more tests to Cypress 12 * Migrating more tests to Cypress 12 * Migrating more tests to Cypress 12 * Fix incompatibility between Jest and Cypress assertion types --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Craig Atkinson <[email protected]>
- Loading branch information
1 parent
cc7bd3a
commit 5bbcac5
Showing
62 changed files
with
850 additions
and
786 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,6 @@ | |
"license": "MIT", | ||
"devDependencies": { | ||
"chai-colors": "1.0.1", | ||
"cypress": "9.7.0" | ||
"cypress": "12.17.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
# yarn lockfile v1 | ||
|
||
|
||
"@cypress/request@^2.88.10": | ||
version "2.88.10" | ||
resolved "https://registry.yarnpkg.com/@cypress/request/-/request-2.88.10.tgz#b66d76b07f860d3a4b8d7a0604d020c662752cce" | ||
integrity sha512-Zp7F+R93N0yZyG34GutyTNr+okam7s/Fzc1+i3kcqOP8vk6OuajuE9qZJ6Rs+10/1JFtXFYMdyarnU1rZuJesg== | ||
"@cypress/request@^2.88.11": | ||
version "2.88.11" | ||
resolved "https://registry.yarnpkg.com/@cypress/request/-/request-2.88.11.tgz#5a4c7399bc2d7e7ed56e92ce5acb620c8b187047" | ||
integrity sha512-M83/wfQ1EkspjkE2lNWNV5ui2Cv7UCv1swW1DqljahbzLVWltcsexQh8jYtuS/vzFXP+HySntGM83ZXA9fn17w== | ||
dependencies: | ||
aws-sign2 "~0.7.0" | ||
aws4 "^1.8.0" | ||
|
@@ -20,7 +20,7 @@ | |
json-stringify-safe "~5.0.1" | ||
mime-types "~2.1.19" | ||
performance-now "^2.1.0" | ||
qs "~6.5.2" | ||
qs "~6.10.3" | ||
safe-buffer "^5.1.2" | ||
tough-cookie "~2.5.0" | ||
tunnel-agent "^0.6.0" | ||
|
@@ -193,6 +193,14 @@ cachedir@^2.3.0: | |
resolved "https://registry.yarnpkg.com/cachedir/-/cachedir-2.3.0.tgz#0c75892a052198f0b21c7c1804d8331edfcae0e8" | ||
integrity sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw== | ||
|
||
call-bind@^1.0.0: | ||
version "1.0.2" | ||
resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" | ||
integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== | ||
dependencies: | ||
function-bind "^1.1.1" | ||
get-intrinsic "^1.0.2" | ||
|
||
caseless@~0.12.0: | ||
version "0.12.0" | ||
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" | ||
|
@@ -281,10 +289,10 @@ combined-stream@^1.0.6, combined-stream@~1.0.6: | |
dependencies: | ||
delayed-stream "~1.0.0" | ||
|
||
commander@^5.1.0: | ||
version "5.1.0" | ||
resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" | ||
integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg== | ||
commander@^6.2.1: | ||
version "6.2.1" | ||
resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c" | ||
integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA== | ||
|
||
common-tags@^1.8.0: | ||
version "1.8.0" | ||
|
@@ -310,12 +318,12 @@ cross-spawn@^7.0.0: | |
shebang-command "^2.0.0" | ||
which "^2.0.1" | ||
|
||
cypress@9.7.0: | ||
version "9.7.0" | ||
resolved "https://registry.yarnpkg.com/cypress/-/cypress-9.7.0.tgz#bf55b2afd481f7a113ef5604aa8b693564b5e744" | ||
integrity sha512-+1EE1nuuuwIt/N1KXRR2iWHU+OiIt7H28jJDyyI4tiUftId/DrXYEwoDa5+kH2pki1zxnA0r6HrUGHV5eLbF5Q== | ||
cypress@12.17.1: | ||
version "12.17.1" | ||
resolved "https://registry.yarnpkg.com/cypress/-/cypress-12.17.1.tgz#777fdcceec4ecd642fc90795f5994853b6ea03f8" | ||
integrity sha512-eKfBgO6t8waEyhegL4gxD7tcI6uTCGttu+ZU7y9Hq8BlpMztd7iLeIF4AJFAnbZH1xjX+wwgg4cRKFNSvv3VWQ== | ||
dependencies: | ||
"@cypress/request" "^2.88.10" | ||
"@cypress/request" "^2.88.11" | ||
"@cypress/xvfb" "^1.2.4" | ||
"@types/node" "^14.14.31" | ||
"@types/sinonjs__fake-timers" "8.1.1" | ||
|
@@ -329,12 +337,12 @@ [email protected]: | |
check-more-types "^2.24.0" | ||
cli-cursor "^3.1.0" | ||
cli-table3 "~0.6.1" | ||
commander "^5.1.0" | ||
commander "^6.2.1" | ||
common-tags "^1.8.0" | ||
dayjs "^1.10.4" | ||
debug "^4.3.2" | ||
debug "^4.3.4" | ||
enquirer "^2.3.6" | ||
eventemitter2 "^6.4.3" | ||
eventemitter2 "6.4.7" | ||
execa "4.1.0" | ||
executable "^4.1.1" | ||
extract-zip "2.0.1" | ||
|
@@ -347,12 +355,12 @@ [email protected]: | |
listr2 "^3.8.3" | ||
lodash "^4.17.21" | ||
log-symbols "^4.0.0" | ||
minimist "^1.2.6" | ||
minimist "^1.2.8" | ||
ospath "^1.2.2" | ||
pretty-bytes "^5.6.0" | ||
proxy-from-env "1.0.0" | ||
request-progress "^3.0.0" | ||
semver "^7.3.2" | ||
semver "^7.5.3" | ||
supports-color "^8.1.1" | ||
tmp "~0.2.1" | ||
untildify "^4.0.0" | ||
|
@@ -377,13 +385,20 @@ debug@^3.1.0: | |
dependencies: | ||
ms "^2.1.1" | ||
|
||
debug@^4.1.1, debug@^4.3.2: | ||
debug@^4.1.1: | ||
version "4.3.3" | ||
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664" | ||
integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q== | ||
dependencies: | ||
ms "2.1.2" | ||
|
||
debug@^4.3.4: | ||
version "4.3.4" | ||
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" | ||
integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== | ||
dependencies: | ||
ms "2.1.2" | ||
|
||
delayed-stream@~1.0.0: | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" | ||
|
@@ -421,10 +436,10 @@ escape-string-regexp@^1.0.5: | |
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" | ||
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= | ||
|
||
eventemitter2@^6.4.3: | ||
version "6.4.5" | ||
resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.5.tgz#97380f758ae24ac15df8353e0cc27f8b95644655" | ||
integrity sha512-bXE7Dyc1i6oQElDG0jMRZJrRAn9QR2xyyFGmBdZleNmyQX0FqGYmhZIrIrpPfm/w//LTo4tVQGOGQcGCb5q9uw== | ||
[email protected].7: | ||
version "6.4.7" | ||
resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-6.4.7.tgz#a7f6c4d7abf28a14c1ef3442f21cb306a054271d" | ||
integrity sha512-tYUSVOGeQPKt/eC1ABfhHy5Xd96N3oIijJvN3O9+TsC28T5V9yX9oEfEK5faP0EFSNVOG97qtAS68GBrQB2hDg== | ||
|
||
[email protected]: | ||
version "4.1.0" | ||
|
@@ -517,6 +532,21 @@ fs.realpath@^1.0.0: | |
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" | ||
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= | ||
|
||
function-bind@^1.1.1: | ||
version "1.1.1" | ||
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" | ||
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== | ||
|
||
get-intrinsic@^1.0.2: | ||
version "1.2.1" | ||
resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.1.tgz#d295644fed4505fc9cde952c37ee12b477a83d82" | ||
integrity sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw== | ||
dependencies: | ||
function-bind "^1.1.1" | ||
has "^1.0.3" | ||
has-proto "^1.0.1" | ||
has-symbols "^1.0.3" | ||
|
||
get-stream@^5.0.0, get-stream@^5.1.0: | ||
version "5.2.0" | ||
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3" | ||
|
@@ -567,6 +597,23 @@ has-flag@^4.0.0: | |
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" | ||
integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== | ||
|
||
has-proto@^1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" | ||
integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== | ||
|
||
has-symbols@^1.0.3: | ||
version "1.0.3" | ||
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" | ||
integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== | ||
|
||
has@^1.0.3: | ||
version "1.0.3" | ||
resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" | ||
integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== | ||
dependencies: | ||
function-bind "^1.1.1" | ||
|
||
http-signature@~1.3.6: | ||
version "1.3.6" | ||
resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.3.6.tgz#cb6fbfdf86d1c974f343be94e87f7fc128662cf9" | ||
|
@@ -776,10 +823,10 @@ minimatch@^3.0.4: | |
dependencies: | ||
brace-expansion "^1.1.7" | ||
|
||
minimist@^1.2.6: | ||
version "1.2.6" | ||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" | ||
integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== | ||
minimist@^1.2.8: | ||
version "1.2.8" | ||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" | ||
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== | ||
|
||
[email protected], ms@^2.1.1: | ||
version "2.1.2" | ||
|
@@ -793,6 +840,11 @@ npm-run-path@^4.0.0: | |
dependencies: | ||
path-key "^3.0.0" | ||
|
||
object-inspect@^1.9.0: | ||
version "1.12.3" | ||
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" | ||
integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== | ||
|
||
once@^1.3.0, once@^1.3.1, once@^1.4.0: | ||
version "1.4.0" | ||
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" | ||
|
@@ -877,10 +929,12 @@ punycode@^2.1.1: | |
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" | ||
integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== | ||
|
||
qs@~6.5.2: | ||
version "6.5.3" | ||
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" | ||
integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== | ||
qs@~6.10.3: | ||
version "6.10.5" | ||
resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.5.tgz#974715920a80ff6a262264acd2c7e6c2a53282b4" | ||
integrity sha512-O5RlPh0VFtR78y79rgcgKK4wbAI0C5zGVLztOIdpWX6ep368q5Hv6XRxDvXuZ9q3C6v+e3n8UfZZJw7IIG27eQ== | ||
dependencies: | ||
side-channel "^1.0.4" | ||
|
||
request-progress@^3.0.0: | ||
version "3.0.0" | ||
|
@@ -926,10 +980,10 @@ safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: | |
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" | ||
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== | ||
|
||
semver@^7.3.2: | ||
version "7.5.3" | ||
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.3.tgz#161ce8c2c6b4b3bdca6caadc9fa3317a4c4fe88e" | ||
integrity sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ== | ||
semver@^7.5.3: | ||
version "7.5.4" | ||
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" | ||
integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== | ||
dependencies: | ||
lru-cache "^6.0.0" | ||
|
||
|
@@ -945,6 +999,15 @@ shebang-regex@^3.0.0: | |
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" | ||
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== | ||
|
||
side-channel@^1.0.4: | ||
version "1.0.4" | ||
resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" | ||
integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== | ||
dependencies: | ||
call-bind "^1.0.0" | ||
get-intrinsic "^1.0.2" | ||
object-inspect "^1.9.0" | ||
|
||
signal-exit@^3.0.2: | ||
version "3.0.3" | ||
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
const { defineConfig } = require('cypress') | ||
|
||
module.exports = defineConfig({ | ||
defaultCommandTimeout: 5000, | ||
videoUploadOnPasses: false, | ||
reporter: 'junit', | ||
reporterOptions: { | ||
mochaFile: 'test-results/cypress-[hash].xml', | ||
outputs: 'true', | ||
}, | ||
chromeWebSecurity: false, | ||
e2e: { | ||
// We've imported your old cypress plugins here. | ||
// You may want to clean this up later by importing these. | ||
setupNodeEvents(on, config) { | ||
return require('./cypress/plugins/index.js')(on, config) | ||
}, | ||
}, | ||
}) |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.