fix(measurement-tracking): restore tracked state on undo after Delete all (#5994)

* fix: always show delete confirmation when measurements exist
This commit is contained in:
Ghadeer Albattarni authored and GitHub committed 2026-05-12 13:22:25 -04:00
1 parent 8cd8ccc163
commit 397aa4d0e3
10 files changed
+238 -30

No files matched your search

+18
View File
@@ -338,4 +338,22 @@ export class MainToolbarPageObject {
},
};
}
get undo() {
const button = this.page.getByTestId('undo-btn');
return {
button,
async click() {
await button.click();
},
};
}
get redo() {
const button = this.page.getByTestId('redo-btn');
return {
button,
async click() {
await button.click();
},
};
}
}