aboutsummaryrefslogtreecommitdiffstats
path: root/cypress
diff options
context:
space:
mode:
authorGrigorii K. Shartsev <me@shgk.me>2024-03-01 18:59:03 +0100
committerGrigorii K. Shartsev <me@shgk.me>2024-03-05 22:07:49 +0100
commit680f439f736e199576844cd2d3cc3854e95201af (patch)
tree3654b59fe792177504b8bc4f85ea3e61dfd53bed /cypress
parent7efb36bd532aaeb0daf32fe52d3bbd7979c89ace (diff)
downloadnextcloud-server-680f439f736e199576844cd2d3cc3854e95201af.tar.gz
nextcloud-server-680f439f736e199576844cd2d3cc3854e95201af.zip
fix(settings): emails actions a11y and design
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Diffstat (limited to 'cypress')
-rw-r--r--cypress/e2e/settings/personal-info.cy.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cypress/e2e/settings/personal-info.cy.ts b/cypress/e2e/settings/personal-info.cy.ts
index d64cadbe614..a7564d5125e 100644
--- a/cypress/e2e/settings/personal-info.cy.ts
+++ b/cypress/e2e/settings/personal-info.cy.ts
@@ -57,9 +57,9 @@ const validateActiveVisibility = (property: string, active: Visibility) => {
.and('match', new RegExp(`current scope is ${active}`, 'i'))
getVisibilityButton(property)
.click()
- cy.get('ul[role="dialog"')
+ cy.get('ul[role="menu"]')
.contains('button', active)
- .should('have.attr', 'aria-pressed', 'true')
+ .should('have.attr', 'aria-checked', 'true')
// close menu
getVisibilityButton(property)
@@ -74,7 +74,7 @@ const validateActiveVisibility = (property: string, active: Visibility) => {
const setActiveVisibility = (property: string, active: Visibility) => {
getVisibilityButton(property)
.click()
- cy.get('ul[role="dialog"')
+ cy.get('ul[role="menu"]')
.contains('button', active)
.click({ force: true })
handlePasswordConfirmation(user.password)