Skip to content

Commit

Permalink
Merge pull request #198 from OndrejKotek/ManagementOperationsTest.can…
Browse files Browse the repository at this point in the history
…celOperation

HAL-1941 Cancel button visible for cancelled management operations
  • Loading branch information
hpehl authored Nov 22, 2023
2 parents 1b82fe5 + c78635f commit fd20c14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public ManagementOperationsPage cancelActiveOperation(long operationId) {
WebElement cancelButton = getRootContainer().findElement(cancelButtonSelector);
cancelButton.click();
console.confirmationDialog().confirm();
Graphene.waitGui().until().element(cancelButton).is().not().visible();
Graphene.waitGui().until().element(By.id(Ids.ACTIVE_OPERATION + "-" + operationId)).text().contains("Cancelled: true");

return this;
}
Expand Down

0 comments on commit fd20c14

Please sign in to comment.