mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-12 01:17:04 +02:00
chore: update cypress (#1170)
This commit is contained in:
parent
59f1f22959
commit
b2a77a13f8
@ -2,5 +2,6 @@
|
|||||||
"projectId": "tc2qff",
|
"projectId": "tc2qff",
|
||||||
"defaultCommandTimeout": 12000,
|
"defaultCommandTimeout": 12000,
|
||||||
"screenshotOnRunFailure": false,
|
"screenshotOnRunFailure": false,
|
||||||
"video": false
|
"video": false,
|
||||||
|
"experimentalSessionAndOrigin": true
|
||||||
}
|
}
|
||||||
|
@ -27,10 +27,6 @@
|
|||||||
const AUTH_USER = Cypress.env('AUTH_USER');
|
const AUTH_USER = Cypress.env('AUTH_USER');
|
||||||
const AUTH_PASSWORD = Cypress.env('AUTH_PASSWORD');
|
const AUTH_PASSWORD = Cypress.env('AUTH_PASSWORD');
|
||||||
|
|
||||||
Cypress.config({
|
|
||||||
experimentalSessionSupport: true,
|
|
||||||
});
|
|
||||||
|
|
||||||
Cypress.Commands.add('login', (user = AUTH_USER, password = AUTH_PASSWORD) =>
|
Cypress.Commands.add('login', (user = AUTH_USER, password = AUTH_PASSWORD) =>
|
||||||
cy.session(user, () => {
|
cy.session(user, () => {
|
||||||
cy.visit('/');
|
cy.visit('/');
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
"chartjs-adapter-date-fns": "2.0.0",
|
"chartjs-adapter-date-fns": "2.0.0",
|
||||||
"classnames": "2.3.1",
|
"classnames": "2.3.1",
|
||||||
"copy-to-clipboard": "3.3.1",
|
"copy-to-clipboard": "3.3.1",
|
||||||
"cypress": "9.5.3",
|
"cypress": "9.7.0",
|
||||||
"date-fns": "2.28.0",
|
"date-fns": "2.28.0",
|
||||||
"debounce": "1.2.1",
|
"debounce": "1.2.1",
|
||||||
"deep-diff": "1.0.2",
|
"deep-diff": "1.0.2",
|
||||||
|
@ -3280,10 +3280,10 @@ csstype@^3.1.0:
|
|||||||
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.0.tgz#4ddcac3718d787cf9df0d1b7d15033925c8f29f2"
|
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.0.tgz#4ddcac3718d787cf9df0d1b7d15033925c8f29f2"
|
||||||
integrity sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA==
|
integrity sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA==
|
||||||
|
|
||||||
cypress@9.5.3:
|
cypress@9.7.0:
|
||||||
version "9.5.3"
|
version "9.7.0"
|
||||||
resolved "https://registry.yarnpkg.com/cypress/-/cypress-9.5.3.tgz#7c56b50fc1f1aa69ef10b271d895aeb4a1d7999e"
|
resolved "https://registry.yarnpkg.com/cypress/-/cypress-9.7.0.tgz#bf55b2afd481f7a113ef5604aa8b693564b5e744"
|
||||||
integrity sha512-ItelIVmqMTnKYbo1JrErhsGgQGjWOxCpHT1TfMvwnIXKXN/OSlPjEK7rbCLYDZhejQL99PmUqul7XORI24Ik0A==
|
integrity sha512-+1EE1nuuuwIt/N1KXRR2iWHU+OiIt7H28jJDyyI4tiUftId/DrXYEwoDa5+kH2pki1zxnA0r6HrUGHV5eLbF5Q==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@cypress/request" "^2.88.10"
|
"@cypress/request" "^2.88.10"
|
||||||
"@cypress/xvfb" "^1.2.4"
|
"@cypress/xvfb" "^1.2.4"
|
||||||
|
Loading…
Reference in New Issue
Block a user