We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d8a065 commit 6a8d3beCopy full SHA for 6a8d3be
tests/e2e/tutorials/ti-plan.js
@@ -138,6 +138,14 @@ async function runTutorial() {
138
}
139
140
catch (err) {
141
+ // if it fails because the optimizer times out, close the "Preparing Inputs" view first
142
+ const id = '[osparc-test-id=preparingInputsCloseBtn]';
143
+ await page.waitForSelector(id, {
144
+ timeout: 1000
145
+ })
146
+ .then(() => page.click(id))
147
+ .catch(() => console.log("Preparing Inputs window not found"));
148
+
149
tutorial.setTutorialFailed(true, false);
150
console.log('Tutorial error: ' + err);
151
throw "Tutorial Failed";
0 commit comments