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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2023-11-12 15:30:36 +01:00
parent 5c041122e8
commit 4303895565
3 changed files with 8 additions and 8 deletions

View File

@ -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')
})

View File

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

View File

@ -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",