diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-11-17 23:16:23 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-11-17 23:16:23 +0100 |
commit | 0b55db7f1d8089826dac99d8c2ffd554fec3f10f (patch) | |
tree | 7792b511f4b5629ba856bb253309fda545a20574 /cypress/e2e | |
parent | 9b9133c0e9fc4bc93a285abcbb5fcebdd38f4fb9 (diff) | |
download | nextcloud-server-0b55db7f1d8089826dac99d8c2ffd554fec3f10f.tar.gz nextcloud-server-0b55db7f1d8089826dac99d8c2ffd554fec3f10f.zip |
fix(cypress): Adjust user settings tests for changed actions component
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'cypress/e2e')
-rw-r--r-- | cypress/e2e/settings/users_groups.cy.ts | 10 | ||||
-rw-r--r-- | cypress/e2e/systemtags/admin-settings.cy.ts (renamed from cypress/e2e/settings/systemtags.cy.ts) | 0 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cypress/e2e/settings/users_groups.cy.ts b/cypress/e2e/settings/users_groups.cy.ts index 634679b702f..fe3556b73f8 100644 --- a/cypress/e2e/settings/users_groups.cy.ts +++ b/cypress/e2e/settings/users_groups.cy.ts @@ -39,15 +39,15 @@ describe('Settings: Create groups', () => { // open the Create group menu cy.get('button[aria-label="Create group"]').click() - cy.get('.action-item__popper ul[role="menu"]').within(() => { + cy.get('li[data-cy-settings-new-group-name]').within(() => { // see that the group name is "" - cy.get('input[placeholder="Group name"]').should('exist').and('have.value', '') + cy.get('input').should('exist').and('have.value', '') // set the group name to foo - cy.get('input[placeholder="Group name"]').type(groupName) + cy.get('input').type(groupName) // see that the group name is foo - cy.get('input[placeholder="Group name"]').should('have.value', groupName) + cy.get('input').should('have.value', groupName) // submit the group name - cy.get('input[placeholder="Group name"] ~ button').click() + cy.get('input ~ button').click() }) // Make sure no confirmation modal is shown diff --git a/cypress/e2e/settings/systemtags.cy.ts b/cypress/e2e/systemtags/admin-settings.cy.ts index 3c9a8b25cf4..3c9a8b25cf4 100644 --- a/cypress/e2e/settings/systemtags.cy.ts +++ b/cypress/e2e/systemtags/admin-settings.cy.ts |