Skip to content

Commit 02c2ef7

Browse files
committed
minors
1 parent 54047ca commit 02c2ef7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

services/static-webserver/client/source/class/osparc/workbench/ServiceCatalog.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,10 @@ qx.Class.define("osparc.workbench.ServiceCatalog", {
247247
osparc.store.Services.populateVersionsSelectBox(key, selectBox)
248248
.then(() => {
249249
osparc.utils.Utils.growSelectBox(selectBox, 200);
250-
selectBox.setSelection([latest]);
250+
const idx = selectBox.getSelectables().indexOf(latest);
251+
if (idx > -1) {
252+
selectBox.setSelection([latest]);
253+
}
251254
});
252255
}
253256
}

tests/e2e/tests/title.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ module.exports = {
99
await page.goto(url);
1010
}, ourTimeout);
1111

12-
afterAll(async () => {
12+
afterAll(() => {
1313
console.log("End:", new Date().toUTCString());
1414
}, ourTimeout);
1515

16-
test('Check site title', async () => {
16+
test('Check site metadata', async () => {
1717
const title = await page.title();
1818
expect(title).toContain("PARC");
1919

0 commit comments

Comments
 (0)