diff --git a/frontend/javascripts/test/puppeteer/dataset_rendering.screenshot.ts b/frontend/javascripts/test/puppeteer/dataset_rendering.screenshot.ts index fd7c50b142..53578558ec 100644 --- a/frontend/javascripts/test/puppeteer/dataset_rendering.screenshot.ts +++ b/frontend/javascripts/test/puppeteer/dataset_rendering.screenshot.ts @@ -1,3 +1,4 @@ +import urljoin from "url-join"; import "test/mocks/lz4"; import type { PartialDatasetConfiguration } from "oxalis/store"; import path from "node:path"; @@ -27,7 +28,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 +115,8 @@ test.before("Retrieve dataset ids", async () => { 3, async () => { const options = getDefaultRequestOptions(URL); - const url = `${URL}/api/datasets/disambiguate/sample_organization/${datasetName}/toId`; + const path = `/api/datasets/disambiguate/sample_organization/${datasetName}/toId`; + const url = urljoin(URL, path); const response = await fetch(url, options); const { id } = await response.json(); datasetNameToId[datasetName] = id; @@ -124,7 +126,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}"`); } diff --git a/frontend/javascripts/test/screenshots/2017-05-31_mSEM_aniso-test.png b/frontend/javascripts/test/screenshots/2017-05-31_mSEM_aniso-test.png index 3f4dd0515b..5b52d65ee4 100644 Binary files a/frontend/javascripts/test/screenshots/2017-05-31_mSEM_aniso-test.png and b/frontend/javascripts/test/screenshots/2017-05-31_mSEM_aniso-test.png differ diff --git a/frontend/javascripts/test/screenshots/2017-05-31_mSEM_scMS109_bk_100um_v01-aniso.png b/frontend/javascripts/test/screenshots/2017-05-31_mSEM_scMS109_bk_100um_v01-aniso.png index 0413d365f6..a4b5c1d691 100644 Binary files a/frontend/javascripts/test/screenshots/2017-05-31_mSEM_scMS109_bk_100um_v01-aniso.png and b/frontend/javascripts/test/screenshots/2017-05-31_mSEM_scMS109_bk_100um_v01-aniso.png differ diff --git a/frontend/javascripts/test/screenshots/ROI2017_wkw_fallback.png b/frontend/javascripts/test/screenshots/ROI2017_wkw_fallback.png index f557a33a00..cdd8beaad7 100644 Binary files a/frontend/javascripts/test/screenshots/ROI2017_wkw_fallback.png and b/frontend/javascripts/test/screenshots/ROI2017_wkw_fallback.png differ diff --git a/frontend/javascripts/test/screenshots/ROI2017_wkw_with_mapping_astrocyte.png b/frontend/javascripts/test/screenshots/ROI2017_wkw_with_mapping_astrocyte.png index 4d6e62200e..88ae851f92 100644 Binary files a/frontend/javascripts/test/screenshots/ROI2017_wkw_with_mapping_astrocyte.png and b/frontend/javascripts/test/screenshots/ROI2017_wkw_with_mapping_astrocyte.png differ diff --git a/frontend/javascripts/test/screenshots/annotation_ROI2017_wkw_fallback_null.png b/frontend/javascripts/test/screenshots/annotation_ROI2017_wkw_fallback_null.png index 181f6f0278..fa5217d196 100644 Binary files a/frontend/javascripts/test/screenshots/annotation_ROI2017_wkw_fallback_null.png and b/frontend/javascripts/test/screenshots/annotation_ROI2017_wkw_fallback_null.png differ diff --git a/frontend/javascripts/test/screenshots/annotation_ROI2017_wkw_fallback_segmentation.png b/frontend/javascripts/test/screenshots/annotation_ROI2017_wkw_fallback_segmentation.png index f557a33a00..8e8e39616a 100644 Binary files a/frontend/javascripts/test/screenshots/annotation_ROI2017_wkw_fallback_segmentation.png and b/frontend/javascripts/test/screenshots/annotation_ROI2017_wkw_fallback_segmentation.png differ diff --git a/frontend/javascripts/test/screenshots/connectome_file_test_dataset.png b/frontend/javascripts/test/screenshots/connectome_file_test_dataset.png index 4a63edc788..19fbbfdef8 100644 Binary files a/frontend/javascripts/test/screenshots/connectome_file_test_dataset.png and b/frontend/javascripts/test/screenshots/connectome_file_test_dataset.png differ diff --git a/frontend/javascripts/test/screenshots/dsA_2.png b/frontend/javascripts/test/screenshots/dsA_2.png index 47cca5b10d..7e229aab7e 100644 Binary files a/frontend/javascripts/test/screenshots/dsA_2.png and b/frontend/javascripts/test/screenshots/dsA_2.png differ diff --git a/frontend/javascripts/test/screenshots/float_test_dataset.png b/frontend/javascripts/test/screenshots/float_test_dataset.png index 0bb2ecc40b..732c7bbde7 100644 Binary files a/frontend/javascripts/test/screenshots/float_test_dataset.png and b/frontend/javascripts/test/screenshots/float_test_dataset.png differ diff --git a/frontend/javascripts/test/screenshots/test-agglomerate-file_with_mapping_link.png b/frontend/javascripts/test/screenshots/test-agglomerate-file_with_mapping_link.png index c3965586ef..d982e12eac 100644 Binary files a/frontend/javascripts/test/screenshots/test-agglomerate-file_with_mapping_link.png and b/frontend/javascripts/test/screenshots/test-agglomerate-file_with_mapping_link.png differ diff --git a/frontend/javascripts/test/screenshots/test-agglomerate-file_with_meshes_link.png b/frontend/javascripts/test/screenshots/test-agglomerate-file_with_meshes_link.png index 6d855c88ea..4116a5441f 100644 Binary files a/frontend/javascripts/test/screenshots/test-agglomerate-file_with_meshes_link.png and b/frontend/javascripts/test/screenshots/test-agglomerate-file_with_meshes_link.png differ