fix(cypress): Adjust admin theming tests for new `@nextcloud/vue` release

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/41398/head
Ferdinand Thiessen 1 year ago
parent 5c041122e8
commit 4303895565
  1. 12
      cypress/e2e/theming/admin-settings.cy.ts
  2. 2
      cypress/tsconfig.json
  3. 2
      tsconfig.json

@ -270,19 +270,19 @@ describe('Change the login fields then reset them', function() {
})
it('Ensure undo button presence', function() {
cy.get('[data-admin-theming-setting-field="name"] .input-field__clear-button')
cy.get('[data-admin-theming-setting-field="name"] .input-field__trailing-button')
.scrollIntoView()
cy.get('[data-admin-theming-setting-field="name"] .input-field__clear-button')
cy.get('[data-admin-theming-setting-field="name"] .input-field__trailing-button')
.should('be.visible')
cy.get('[data-admin-theming-setting-field="url"] .input-field__clear-button')
cy.get('[data-admin-theming-setting-field="url"] .input-field__trailing-button')
.scrollIntoView()
cy.get('[data-admin-theming-setting-field="url"] .input-field__clear-button')
cy.get('[data-admin-theming-setting-field="url"] .input-field__trailing-button')
.should('be.visible')
cy.get('[data-admin-theming-setting-field="slogan"] .input-field__clear-button')
cy.get('[data-admin-theming-setting-field="slogan"] .input-field__trailing-button')
.scrollIntoView()
cy.get('[data-admin-theming-setting-field="slogan"] .input-field__clear-button')
cy.get('[data-admin-theming-setting-field="slogan"] .input-field__trailing-button')
.should('be.visible')
})

@ -2,6 +2,6 @@
"extends": "../tsconfig.json",
"include": ["./**/*.ts"],
"compilerOptions": {
"types": ["cypress", "dockerode", "cypress-wait-until"],
"types": ["cypress", "cypress-axe", "cypress-wait-until", "dockerode"],
}
}

@ -2,7 +2,7 @@
"extends": "@vue/tsconfig/tsconfig.json",
"include": ["./apps/**/*.ts", "./core/**/*.ts", "./*.d.ts"],
"compilerOptions": {
"types": ["cypress", "cypress-axe", "jest", "node", "vue"],
"types": ["jest", "node", "vue"],
"outDir": "./dist/",
"target": "ESNext",
"module": "esnext",

Loading…
Cancel
Save