re-enable crud test (#956)

This commit is contained in:
Erik Jan de Wit 2021-08-09 16:31:41 +02:00 committed by GitHub
parent 9eedd13a6b
commit 5edea49497
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,23 +49,22 @@ describe("Client Scopes test", function () {
masthead.checkNotificationMessage("Client scope created");
//TODO seems not to work on github actions temporary removed
// sidebarPage.goToClientScopes();
// cy.get(".pf-c-spinner__tail-ball").should("not.exist");
sidebarPage.goToClientScopes();
cy.get(".pf-c-spinner__tail-ball").should("not.exist");
// // Delete
// listingPage
// .searchItem(itemId, false)
// .itemExist(itemId)
// .deleteItem(itemId);
// Delete
listingPage
.searchItem(itemId, false)
.itemExist(itemId)
.deleteItem(itemId);
// modalUtils
// .checkModalMessage("Are you sure you want to delete this client scope")
// .confirmModal();
modalUtils
.checkModalMessage("Are you sure you want to delete this client scope")
.confirmModal();
// masthead.checkNotificationMessage("The client scope has been deleted");
masthead.checkNotificationMessage("The client scope has been deleted");
// listingPage.itemExist(itemId, false);
listingPage.itemExist(itemId, false);
});
});