Skip to content

Commit c76bf88

Browse files
committed
get chained after waitUntil
1 parent 270e512 commit c76bf88

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libs/e2e/src/lib/describer/modelAssessment/visionDataExplorer/ensureAllVisionDataExplorerFlyoutElementsAfterSelectionArePresent.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ export function ensureAllVisionDataExplorerFlyoutElementsAfterSelectionArePresen
1515
cy.get(Locators.VisionDataExplorerImageExplorerViewButton).click();
1616

1717
cy.waitUntil(() => {
18-
cy.reload()
1918
return Cypress.$(Locators.VisionDataExplorerImageExplorerViewSuccessImage).length > 0
2019
&& (Cypress.$(Locators.VisionDataExplorerImageExplorerViewSuccessImage)[0] as HTMLImageElement).naturalWidth > 0
2120
&& (Cypress.$(Locators.VisionDataExplorerImageExplorerViewSuccessImage)[0] as HTMLImageElement).naturalHeight > 0;
22-
});
21+
}).get(Locators.VisionDataExplorerImageExplorerViewSuccessImage).click();
2322

2423
// cy.get(Locators.VisionDataExplorerImageExplorerViewSuccessImage, { timeout: 30000 })
2524
// .should("be.visible")
@@ -32,7 +31,7 @@ export function ensureAllVisionDataExplorerFlyoutElementsAfterSelectionArePresen
3231
// );
3332
// });
3433

35-
cy.get(Locators.VisionDataExplorerImageExplorerViewSuccessImage).click();
34+
// cy.get(Locators.VisionDataExplorerImageExplorerViewSuccessImage).click();
3635

3736
cy.get(Locators.VisionDataExplorerFlyoutPredictionTitle).should("exist");
3837

0 commit comments

Comments
 (0)