Skip to content

Commit 3ef95b0

Browse files
committed
remove studiesTabBtn
1 parent 0714b28 commit 3ef95b0

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

tests/e2e/tutorials/tutorialBase.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,6 @@ class TutorialBase {
577577
}
578578

579579
async removeStudy(studyId, waitFor = 5000) {
580-
await auto.dashboardStudiesBrowser(this.__page);
581580
await this.waitFor(waitFor, 'Wait to be unlocked');
582581
await this.takeScreenshot("deleteFirstStudy_before");
583582
const intervalWait = 3000;

tests/e2e/utils/auto.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,6 @@ async function dashboardPreferences(page) {
9494
await utils.waitAndClick(page, '[osparc-test-id="preferencesWindowCloseBtn"]');
9595
}
9696

97-
async function dashboardStudiesBrowser(page) {
98-
console.log("Navigating through Studies");
99-
await utils.waitAndClick(page, '[osparc-test-id="studiesTabBtn"]')
100-
}
101-
10297
async function __dashboardTemplatesBrowser(page) {
10398
console.log("Navigating through Templates");
10499
await utils.waitAndClick(page, '[osparc-test-id="templatesTabBtn"]');
@@ -112,15 +107,13 @@ async function __dashboardServicesBrowser(page) {
112107
async function dashboardNewTIPlan(page) {
113108
console.log("Creating New Plan");
114109

115-
await dashboardStudiesBrowser(page);
116110
await utils.waitAndClick(page, '[osparc-test-id="newPlansBtn"]');
117111
await utils.waitAndClick(page, '[osparc-test-id="newTIPlanButton"]');
118112
}
119113

120114
async function dashboardStartSim4LifeLite(page) {
121115
console.log("Start Sim4Lite from + button");
122116

123-
await dashboardStudiesBrowser(page);
124117
await utils.waitAndClick(page, '[osparc-test-id="startS4LButton"]');
125118
}
126119

@@ -213,7 +206,6 @@ async function __openResource(page) {
213206
}
214207

215208
async function __filterStudiesByText(page, studyName) {
216-
await dashboardStudiesBrowser(page);
217209
await __typeInSearchBarFilter(page, "study", studyName);
218210
}
219211

@@ -296,8 +288,6 @@ async function runStudy(page) {
296288
async function deleteFirstStudy(page, studyName) {
297289
console.log("Deleting first study")
298290

299-
await dashboardStudiesBrowser(page);
300-
301291
if (studyName) {
302292
await __filterStudiesByText(page, studyName);
303293
}
@@ -405,7 +395,6 @@ module.exports = {
405395
logIn,
406396
logOut,
407397
dashboardAbout,
408-
dashboardStudiesBrowser,
409398
dashboardPreferences,
410399
dashboardNewTIPlan,
411400
dashboardStartSim4LifeLite,

0 commit comments

Comments
 (0)