Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
Expand Down Expand Up @@ -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");

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/javascripts/test/screenshots/ROI2017_wkw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/javascripts/test/screenshots/kiwi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading