Skip to content

Commit

Permalink
update to failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
tiyiprh committed Aug 21, 2024
1 parent 3356bda commit 378da60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/awx/access/users/users.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ describe('Users Tests', () => {

it('navigates to the edit form from the users list row item', () => {
cy.clickTableRowPinnedAction(user.username, 'edit-user');
cy.verifyPageTitle('Edit User');
cy.verifyPageTitle(`Edit ${user.username}`);
});

it('edits a user from the details page', () => {
cy.clickTableRowLink('username', user.username);
cy.verifyPageTitle(user.username);
cy.url().should('contain', '/details');
cy.clickButton(/^Edit user$/);
cy.verifyPageTitle('Edit User');
cy.verifyPageTitle(`Edit ${user.username}`);
cy.get('[data-cy="username"]').type(user.username + 'a');
cy.clickButton(/^Save user$/);
cy.verifyPageTitle(`${user.username}a`);
Expand Down

0 comments on commit 378da60

Please sign in to comment.