Skip to content

Commit 94adee9

Browse files
committed
good robot
1 parent ef92297 commit 94adee9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/e2e/portal/3D_Anatomical.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@ async function runTutorial () {
3636
await tutorial.waitFor(10000, 'Some time for starting the service');
3737
await utils.takeScreenshot(page, screenshotPrefix + 'service_started');
3838

39+
const iframe = await tutorial.getIframe(vtkNodeId);
3940
const entitiesListed = [
4041
"Vein.vtk",
4142
"Artery.vtk",
4243
"Bones.e",
4344
];
4445
for (const text of entitiesListed) {
45-
const found = await utils.waitForLabelText(page, text);
46+
const found = await utils.waitForLabelText(iframe, text);
4647
if (!found) {
4748
throw new Error(`Text "${text}" not visible on the page within timeout.`);
4849
}

0 commit comments

Comments
 (0)