Browse Source

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
tags/v28.0.0beta3
Ferdinand Thiessen 7 months ago
parent
commit
4303895565
3 changed files with 8 additions and 8 deletions
  1. 6
    6
      cypress/e2e/theming/admin-settings.cy.ts
  2. 1
    1
      cypress/tsconfig.json
  3. 1
    1
      tsconfig.json

+ 6
- 6
cypress/e2e/theming/admin-settings.cy.ts 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')
})


+ 1
- 1
cypress/tsconfig.json 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"],
}
}

+ 1
- 1
tsconfig.json 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",

Loading…
Cancel
Save