Skip to content

Commit

Permalink
improve after test view details click close button
Browse files Browse the repository at this point in the history
  • Loading branch information
ch3yne committed Mar 20, 2024
1 parent 1622f77 commit 49428f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void testCreateMetalake() {

@Test
@Order(2)
public void testViewMetalakeDetails() {
public void testViewMetalakeDetails() throws InterruptedException {
metalakePage.clickViewMetalakeBtn(metalakeName);
Assertions.assertTrue(metalakePage.verifyShowMetalakeDetails(metalakeName));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public boolean verifyEditedMetalake(String name) {
}
}

public boolean verifyShowMetalakeDetails(String name) {
public boolean verifyShowMetalakeDetails(String name) throws InterruptedException {
try {
// Check the drawer css property value
detailsDrawer.isDisplayed();
Expand All @@ -218,7 +218,7 @@ public boolean verifyShowMetalakeDetails(String name) {
LOG.error(e.getMessage(), e);
return false;
} finally {
closeDetailsBtn.click();
clickAndWait(closeDetailsBtn);
}
}

Expand Down

0 comments on commit 49428f7

Please sign in to comment.