diff --git a/ui/package.json b/ui/package.json index 1b90c5a97f0..a0f10ad4755 100644 --- a/ui/package.json +++ b/ui/package.json @@ -73,7 +73,7 @@ "devDependencies": { "@quasar/app-vite": "^2.0.0-beta.1", "@quasar/extras": "^1.16.4", - "@quasar/quasar-app-extension-testing-e2e-cypress": "^5.2.0", + "@quasar/quasar-app-extension-testing-e2e-cypress": "^5.2.1", "@rollup/plugin-node-resolve": "^11.2.1", "@rollup/plugin-replace": "^2.3.3", "autoprefixer": "^10.4.17", @@ -81,7 +81,7 @@ "cli-highlight": "^2.1.11", "cross-env": "^7.0.3", "cssnano": "^5.1.14", - "cypress": "^13.6.4", + "cypress": "^13.6.6", "cypress-json-results": "^1.2.1", "diff": "^5.2.0", "eslint": "^8.56.0", diff --git a/ui/src/components/dialog/__tests__/QDialog.cy.js b/ui/src/components/dialog/__tests__/QDialog.cy.js index e0f58b3d969..be12afdc938 100644 --- a/ui/src/components/dialog/__tests__/QDialog.cy.js +++ b/ui/src/components/dialog/__tests__/QDialog.cy.js @@ -1,5 +1,5 @@ import DialogWrapper from './DialogWrapper.vue' -import { nextTick, ref } from 'vue' +import { ref } from 'vue' import { vModelAdapter } from '@quasar/quasar-app-extension-testing-e2e-cypress' function mountQDialogWrapper (options) { @@ -162,9 +162,8 @@ describe('Dialog API', () => { cy.dataCy('input-field') .focus() cy.dataCy('input-field') - .then(async () => { + .then(() => { model.value = true - await nextTick() }) cy.withinDialog(() => { closeDialogViaBackdrop() @@ -178,7 +177,6 @@ describe('Dialog API', () => { .then(async () => { await Cypress.vueWrapper.setProps({ noRefocus: true }) model.value = true - await nextTick() }) cy.withinDialog(() => { @@ -208,7 +206,6 @@ describe('Dialog API', () => { cy.wrap().then(async () => { await Cypress.vueWrapper.setProps({ noFocus: true }) model.value = true - await nextTick() }) cy.withinDialog(() => { diff --git a/yarn.lock b/yarn.lock index 088b7fdfbf5..1810e9ca0e0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1687,10 +1687,10 @@ resolved "https://registry.yarnpkg.com/@quasar/extras/-/extras-1.16.9.tgz#6cdf9d34862e6f58009443a2d1e34b84a5e73ad0" integrity sha512-SlOhwzXyPQHWgQIS2ncyDdYdksCJvUYNtgsDQqzAKEG3r3d/ejOxvThle79HTK3Q6HB+gQWFG21Ux00Osr5XSw== -"@quasar/quasar-app-extension-testing-e2e-cypress@^5.2.0": - version "5.2.0" - resolved "https://registry.yarnpkg.com/@quasar/quasar-app-extension-testing-e2e-cypress/-/quasar-app-extension-testing-e2e-cypress-5.2.0.tgz#a2ee0f91b07fc1a2b2b7c7fd30bec05fba74881b" - integrity sha512-Fb8TXPo3uG2tRoSjxNb+3VnKXKZDU+lf8hkKWpzlbDUiMAqZYvHCgXKIaC+Kwm2L1+y9ky4+Pg1nPpfNIBpfcg== +"@quasar/quasar-app-extension-testing-e2e-cypress@^5.2.1": + version "5.2.1" + resolved "https://registry.yarnpkg.com/@quasar/quasar-app-extension-testing-e2e-cypress/-/quasar-app-extension-testing-e2e-cypress-5.2.1.tgz#0f801e945535d4b96e55429f17a73895287a1837" + integrity sha512-GrXw6/vP72u0Ia9XGOC1YotHpm+bAHJNOgOu9oX4R8xJccWNpGBX6/aktTEbVDaY3+TSgS0ce7J6hoIMwzu7zA== dependencies: "@cypress/code-coverage" "^3.12.15" cross-env "^7.0.3" @@ -4008,10 +4008,10 @@ cypress@^12.10.0: untildify "^4.0.0" yauzl "^2.10.0" -cypress@^13.6.4: - version "13.6.5" - resolved "https://registry.yarnpkg.com/cypress/-/cypress-13.6.5.tgz#d8ab22dda3b9a8abeebcb65dc8a2707cb73bf925" - integrity sha512-2NxSDcO2zHw5kTcosc6dzv2zppEqiXrFFhZw5cx/EWrSNZABTzpr/EyvYzGgrWm46o5173JUfuJfDQcaiZZPVQ== +cypress@^13.6.6: + version "13.6.6" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-13.6.6.tgz#5133f231ed1c6e57dc8dcbf60aade220bcd6884b" + integrity sha512-S+2S9S94611hXimH9a3EAYt81QM913ZVA03pUmGDfLTFa5gyp85NJ8dJGSlEAEmyRsYkioS1TtnWtbv/Fzt11A== dependencies: "@cypress/request" "^3.0.0" "@cypress/xvfb" "^1.2.4"