M20: stabilize production acceptance
This commit is contained in:
@@ -53,10 +53,10 @@ test("full guided demo walkthrough, start to finish, restoring the environment a
|
||||
await test.step("step 4: handle the newly created data-quality issue", async () => {
|
||||
await expect(page).toHaveURL(/\/data-quality$/);
|
||||
await expect(page.getByRole("heading", { name: "4. Bekijk en behandel" })).toBeVisible();
|
||||
const firstIssueLink = page.locator(".data-table tbody tr").first().locator("a");
|
||||
await firstIssueLink.click();
|
||||
const odometerIssue = page.getByRole("row", { name: /Afwijkende kilometerstand/ });
|
||||
await odometerIssue.locator("a").click();
|
||||
await expect(page.getByText("Wat is er mis")).toBeVisible();
|
||||
// The newest issue is the odometer regression this return just created.
|
||||
// SLA ordering deliberately outranks recency, so select the issue by its rule.
|
||||
await page.getByRole("radio", { name: /Laatst bevestigde stand behouden/ }).check();
|
||||
await page.getByRole("button", { name: "Probleem oplossen" }).click();
|
||||
await expect(page.getByText(/Probleem .* opgelost/)).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user