Skip to content

Commit

Permalink
test: update selector [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Oct 2, 2024
1 parent 440326d commit b751ffa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress-tests/cypress/e2e/admin/security/user/users.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ context("Security -> Users", () => {
cy.findByLabelText("Last Name").type(lastName);
cy.findByTestId("input-element-Email").type(email);
cy.get("input[type=password]").type(password);
cy.findByTestId("group-autocomplete").type(groupName);
cy.findByTestId("groups-autocomplete").type(groupName);
cy.wait(1000);
cy.findByText(groupName).click();
// Save details
Expand All @@ -39,7 +39,7 @@ context("Security -> Users", () => {
cy.findByLabelText("First Name").type(newFirstName);
cy.findByLabelText("Last Name").type(newLastName);
cy.get("input[type=password]").type(newPassword);
cy.findByTestId("group-autocomplete").clear().type(newGroupName);
cy.findByTestId("groups-autocomplete").clear().type(newGroupName);
cy.wait(1000);
cy.findByText(newGroupName).click();
// Save details
Expand Down

0 comments on commit b751ffa

Please sign in to comment.