diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-11-12 15:30:36 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-11-14 20:01:32 +0100 |
commit | 43038955658c696f207b9bcfbaa1e23703b382cd (patch) | |
tree | de508221af2f09e555bceeb487fd3c5a67d619c5 /cypress | |
parent | 5c041122e847c02c60cb6bca480038a2a50f3331 (diff) | |
download | nextcloud-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>
Diffstat (limited to 'cypress')
-rw-r--r-- | cypress/e2e/theming/admin-settings.cy.ts | 12 | ||||
-rw-r--r-- | cypress/tsconfig.json | 2 |
2 files changed, 7 insertions, 7 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"], } } |