Skip to content

Commit f357a28

Browse files
colinRawlingsColin Rawlings
andauthored
Fix the state detection logic for the dy case (ITISFoundation#3076)
Co-authored-by: Colin Rawlings <[email protected]>
1 parent 09d38b6 commit f357a28

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

tests/e2e/tutorials/sim4life.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,16 @@ async function runTutorial() {
2727

2828
const workbenchData = utils.extractWorkbenchData(studyData["data"]);
2929
console.log(workbenchData);
30-
await tutorial.waitForServices(workbenchData["studyId"], [workbenchData["nodeIds"][0]], startTimeout);
31-
32-
await tutorial.waitFor(12000, 'Wait for some time');
30+
await tutorial.waitForServices(
31+
workbenchData["studyId"],
32+
[workbenchData["nodeIds"][0]],
33+
startTimeout,
34+
false
35+
);
36+
37+
await tutorial.waitFor(35000, 'Wait for some time');
3338
}
34-
catch(err) {
39+
catch (err) {
3540
await tutorial.setTutorialFailed(true);
3641
console.log('Tutorial error: ' + err);
3742
}

0 commit comments

Comments
 (0)