diff --git a/frontend/javascripts/test/puppeteer/dtype_datasets_rendering.screenshot.ts b/frontend/javascripts/test/puppeteer/dtype_datasets_rendering.screenshot.ts index edf1ea3f26d..fc990c7e41b 100644 --- a/frontend/javascripts/test/puppeteer/dtype_datasets_rendering.screenshot.ts +++ b/frontend/javascripts/test/puppeteer/dtype_datasets_rendering.screenshot.ts @@ -237,11 +237,12 @@ describe("DType Dataset Rendering", () => { actions.push(updateLayerSettingAction(layerName, "intensityRange", intensityRange)); } - await page.evaluate((actions) => { - return window.webknossos.apiReady().then(() => { + await page.evaluate(async (actions) => { + await window.webknossos.apiReady().then(async (api) => { for (const action of actions) { window.webknossos.DEV.store.dispatch(action); } + await api.tracing.save(); }); }, actions); }; @@ -282,10 +283,11 @@ describe("DType Dataset Rendering", () => { ]; console.time("evaluate"); - await page.evaluate((actions) => { + await page.evaluate(async (actions) => { for (const action of actions) { window.webknossos.DEV.store.dispatch(action); } + await window.webknossos.DEV.api.tracing.save(); }, actions); console.timeEnd("evaluate"); 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 a6a92a5d490..265998a97ec 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 0eb698597db..1c4f87ac8c8 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.png b/frontend/javascripts/test/screenshots/ROI2017_wkw.png index 24da035ee84..2b5f2f105a9 100644 Binary files a/frontend/javascripts/test/screenshots/ROI2017_wkw.png and b/frontend/javascripts/test/screenshots/ROI2017_wkw.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 f5a390c35d9..08c649a8972 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_segmentation.png b/frontend/javascripts/test/screenshots/annotation_ROI2017_wkw_segmentation.png index 24da035ee84..2b5f2f105a9 100644 Binary files a/frontend/javascripts/test/screenshots/annotation_ROI2017_wkw_segmentation.png and b/frontend/javascripts/test/screenshots/annotation_ROI2017_wkw_segmentation.png differ diff --git a/frontend/javascripts/test/screenshots/annotation_ROI2017_wkw_without_fallback.png b/frontend/javascripts/test/screenshots/annotation_ROI2017_wkw_without_fallback.png index 8e9dcd1f66d..0f2521debff 100644 Binary files a/frontend/javascripts/test/screenshots/annotation_ROI2017_wkw_without_fallback.png and b/frontend/javascripts/test/screenshots/annotation_ROI2017_wkw_without_fallback.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 ca1153de01a..a15dffa916d 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/kiwi.png b/frontend/javascripts/test/screenshots/kiwi.png index e6a6ac490ce..c52b8ed16f7 100644 Binary files a/frontend/javascripts/test/screenshots/kiwi.png and b/frontend/javascripts/test/screenshots/kiwi.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 7e95fb37db8..172aa0b0308 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 29602f7241d..b5429d4d629 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