Upgrade Cypress (#245)

This commit is contained in:
Jonas Plum
2022-06-14 15:59:35 +02:00
committed by GitHub
parent 48459b8a8b
commit 7caf676571
9 changed files with 44 additions and 34 deletions

14
ui/cypress.config.ts Normal file
View File

@@ -0,0 +1,14 @@
import { defineConfig } from 'cypress'
export default defineConfig({
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)
},
baseUrl: 'http://localhost',
experimentalSessionAndOrigin: true,
},
})

View File

@@ -1,5 +0,0 @@
{
"baseUrl": "http://localhost",
"chromeWebSecurity": false,
"experimentalSessionAndOrigin": true
}

View File

@@ -70,7 +70,7 @@
"@vue/eslint-config-typescript": "10.0.0",
"@vue/test-utils": "2.0.0",
"babel-eslint": "10.1.0",
"cypress": "9.7.0",
"cypress": "10.1.0",
"eslint": "7.32.0",
"eslint-plugin-jest": "26.4.5",
"eslint-plugin-vue": "7.20.0",

View File

@@ -4701,10 +4701,10 @@ cyclist@^1.0.1:
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9"
integrity "sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk= sha512-NJGVKPS81XejHcLhaLJS7plab0fK3slPh11mESeeDq2W4ZI5kUKK/LRRdVDvjJseojbPB7ZwjnyOybg3Igea/A=="
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@10.1.0:
version "10.1.0"
resolved "https://registry.yarnpkg.com/cypress/-/cypress-10.1.0.tgz#6514a26c721822a02bc194e9a7f72c3142aea174"
integrity sha512-aQ4JVZVib4Xd9FZW8IRZfKelUvqF4y5A+oUbNvn8TlsBmEfIg3m5Xd6Mt6PVU/jHiVJ9Psl905B3ZPnrDcmyuQ==
dependencies:
"@cypress/request" "^2.88.10"
"@cypress/xvfb" "^1.2.4"