Upgrade Cypress to 10.2.0 (#8545)

GitOrigin-RevId: 0818a67f57fed3cbde4453dd1c2949d8d20b7ab0
This commit is contained in:
Alf Eaton
2022-06-24 08:04:09 +00:00
committed by Copybot
parent e11b504c5a
commit e0d2b3f29a
4 changed files with 24 additions and 570 deletions
@@ -1,4 +1,4 @@
import { mount, unmount } from 'cypress/react' // NOTE: not '@cypress/react'?
import { mount, unmount } from '@cypress/react'
// eslint-disable-next-line no-unused-vars,@typescript-eslint/no-namespace
declare global {
+2 -2
View File
@@ -205,7 +205,7 @@
},
"devDependencies": {
"@babel/register": "^7.14.5",
"@cypress/react": "^5.12.5",
"@cypress/react": "^6.0.0",
"@juggle/resize-observer": "^3.3.1",
"@lezer/generator": "^0.16.0",
"@testing-library/cypress": "^8.0.3",
@@ -239,7 +239,7 @@
"copy-webpack-plugin": "^10.2.4",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^3.4.1",
"cypress": "^10.0.3",
"cypress": "^10.2.0",
"es6-promise": "^4.2.8",
"escodegen": "^2.0.0",
"eslint-config-standard-jsx": "^11.0.0-0",
@@ -204,7 +204,7 @@ describe('<PdfPreview/>', function () {
// fire a doc:changed event => compile
win.dispatchEvent(new CustomEvent('doc:changed'))
cy.tick(5000) // AUTO_COMPILE_DEBOUNCE
cy.tick(6000) // > AUTO_COMPILE_DEBOUNCE
cy.clock().invoke('restore')
})