makes client scope test more reliable
This commit is contained in:
parent
f278f34fe5
commit
df5a06a3be
2 changed files with 3 additions and 3 deletions
|
@ -50,6 +50,7 @@ describe("Client Scopes test", function () {
|
|||
masthead.checkNotificationMessage("Client scope created");
|
||||
|
||||
sidebarPage.goToClientScopes();
|
||||
cy.get(".pf-c-spinner__tail-ball").should("not.exist");
|
||||
|
||||
// Delete
|
||||
listingPage.itemExist(itemId).deleteItem(itemId);
|
||||
|
@ -59,8 +60,7 @@ describe("Client Scopes test", function () {
|
|||
|
||||
masthead.checkNotificationMessage("The client scope has been deleted");
|
||||
|
||||
listingPage // It is not refreshing after delete
|
||||
.itemExist(itemId, false);
|
||||
listingPage.itemExist(itemId, false);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ export default class ListingPage {
|
|||
clickRowDetails(itemName: string) {
|
||||
cy.get(this.itemsRows)
|
||||
.contains(itemName)
|
||||
.parentsUntil("tbody")
|
||||
.parentsUntil("tr")
|
||||
.find(this.itemRowDrpDwn)
|
||||
.click();
|
||||
return this;
|
||||
|
|
Loading…
Reference in a new issue