aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-11-12 15:30:36 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2023-11-14 20:01:32 +0100
commit43038955658c696f207b9bcfbaa1e23703b382cd (patch)
treede508221af2f09e555bceeb487fd3c5a67d619c5
parent5c041122e847c02c60cb6bca480038a2a50f3331 (diff)
downloadnextcloud-server-43038955658c696f207b9bcfbaa1e23703b382cd.tar.gz
nextcloud-server-43038955658c696f207b9bcfbaa1e23703b382cd.zip
fix(cypress): Adjust admin theming tests for new `@nextcloud/vue` release
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r--cypress/e2e/theming/admin-settings.cy.ts12
-rw-r--r--cypress/tsconfig.json2
-rw-r--r--tsconfig.json2
3 files changed, 8 insertions, 8 deletions
diff --git a/cypress/e2e/theming/admin-settings.cy.ts b/cypress/e2e/theming/admin-settings.cy.ts
index 70ede0e08af..6825e0045c2 100644
--- a/cypress/e2e/theming/admin-settings.cy.ts
+++ b/cypress/e2e/theming/admin-settings.cy.ts
@@ -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')
})
diff --git a/cypress/tsconfig.json b/cypress/tsconfig.json
index 7aeacf0778e..c5dcff95d70 100644
--- a/cypress/tsconfig.json
+++ b/cypress/tsconfig.json
@@ -2,6 +2,6 @@
"extends": "../tsconfig.json",
"include": ["./**/*.ts"],
"compilerOptions": {
- "types": ["cypress", "dockerode", "cypress-wait-until"],
+ "types": ["cypress", "cypress-axe", "cypress-wait-until", "dockerode"],
}
}
diff --git a/tsconfig.json b/tsconfig.json
index ea4818103c6..84026597f6f 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -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",