diff --git a/frontend/javascripts/test/puppeteer/dataset_rendering.screenshot.ts b/frontend/javascripts/test/puppeteer/dataset_rendering.screenshot.ts index fd7c50b1427..5290109d68d 100644 --- a/frontend/javascripts/test/puppeteer/dataset_rendering.screenshot.ts +++ b/frontend/javascripts/test/puppeteer/dataset_rendering.screenshot.ts @@ -27,7 +27,7 @@ process.on("unhandledRejection", (err, promise) => { console.error("Unhandled rejection (promise: ", promise, ", reason: ", err, ")."); }); const BASE_PATH = path.join(__dirname, "../../../../frontend/javascripts/test/screenshots"); -let URL = "https://master.webknossos.xyz"; +let URL = "https://master.webknossos.xyz/"; if (!process.env.URL) { console.warn( @@ -114,7 +114,7 @@ test.before("Retrieve dataset ids", async () => { 3, async () => { const options = getDefaultRequestOptions(URL); - const url = `${URL}/api/datasets/disambiguate/sample_organization/${datasetName}/toId`; + const url = `${URL}api/datasets/disambiguate/sample_organization/${datasetName}/toId`; const response = await fetch(url, options); const { id } = await response.json(); datasetNameToId[datasetName] = id; @@ -124,7 +124,7 @@ test.before("Retrieve dataset ids", async () => { ); } }); -test("Dataset IDs were retrieved successfully", (t) => { +test.serial("Dataset IDs were retrieved successfully", (t) => { for (const datasetName of datasetNames) { t.truthy(datasetNameToId[datasetName], `Dataset ID not found for "${datasetName}"`); }