Follow the new order and review screens in development browser checks

This commit is contained in:
2026-11-17 22:52:08 +01:00
parent 60f964e0d7
commit b683d6bfb5
8 changed files with 138 additions and 87 deletions
+16
View File
@@ -0,0 +1,16 @@
// Read the data shown by the interactive dev/test WebUI.
async function technicalData(region, label) {
const summary = region.getByText(label, { exact: true });
const pre = region.getByLabel(label, { exact: true });
await summary.waitFor();
if (!await pre.isVisible()) await summary.click();
await pre.waitFor();
return pre;
}
async function readTechnicalData(region, label) {
const data = await technicalData(region, label);
return JSON.parse(await data.innerText());
}
module.exports = { technicalData, readTechnicalData };