Skip to content

Commit

Permalink
Try table instead of cell
Browse files Browse the repository at this point in the history
  • Loading branch information
rix0rrr committed Nov 24, 2023
1 parent d0bbceb commit 5815f2f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ describe("Second teachers: invitations", () => {
.get('.username_cell')
.contains(secondTeachers[1])
.parent('tr')
.children('.remove_user_invitation')
.children('a')
.find('.remove_user_invitation a')
.click();

cy.get('#modal-confirm #modal-yes-button').click();
Expand All @@ -74,6 +73,6 @@ describe("Second teachers: invitations", () => {
loginForTeacher();
navigateToClass(className);

cy.get("#second_teachers_container .username_cell").contains(secondTeachers[0]);
cy.get("#second_teachers_container").contains(secondTeachers[0]);
})
})

0 comments on commit 5815f2f

Please sign in to comment.