Skip to content

Commit 4f26c23

Browse files
committed
check files
1 parent 03b5ae0 commit 4f26c23

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/e2e/portal/3D_Anatomical.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,17 @@ async function runTutorial () {
3434

3535
await tutorial.waitFor(10000, 'Some time for starting the service');
3636
await utils.takeScreenshot(page, screenshotPrefix + 'service_started');
37+
38+
const entitiesListed = [
39+
"EM_02mm.vtk",
40+
"CellDatatoPointData1",
41+
];
42+
for (const text of entitiesListed) {
43+
const found = await utils.waitForLabelText(page, text);
44+
if (!found) {
45+
throw new Error(`Text "${text}" not visible on the page within timeout.`);
46+
}
47+
}
3748
}
3849
catch(err) {
3950
await tutorial.setTutorialFailed();

0 commit comments

Comments
 (0)