Skip to content

Commit

Permalink
test: TG-119 Additional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCizmar authored Apr 18, 2021
1 parent 300a3ea commit 41bb922
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ describe('Organization Invitations', () => {
generateInvitation("MEMBER")
generateInvitation("OWNER")

gcy("organization-invitation-cancel-button").should("have.length", 2)
cy.xpath("//*[@data-cy='simple-hateoas-list']//li").should("have.length", 2)
gcy("organization-invitation-cancel-button").eq(0).click()
gcy("simple-hateoas-list").find("li").should("have.length", 1)
cy.xpath("//*[@data-cy='simple-hateoas-list']//li").should("have.length", 1)
gcy("organization-invitation-cancel-button").click()
gcy("simple-hateoas-list").should("not.exist")
})
Expand Down

0 comments on commit 41bb922

Please sign in to comment.