Upgrade Cypress to 10.2.0 (#8545)
GitOrigin-RevId: 0818a67f57fed3cbde4453dd1c2949d8d20b7ab0
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user