@@ -92,6 +92,15 @@ test("compares two local package inventories", async ({ page }) => {
|
||||
await expect(
|
||||
page.getByRole("row", { name: /changed word\/document\.xml/u }),
|
||||
).toBeVisible();
|
||||
await page
|
||||
.getByRole("button", { name: "Verify comparable contents" })
|
||||
.click();
|
||||
await expect(
|
||||
page.getByText(/Verified \d+ comparable entries/u),
|
||||
).toBeVisible();
|
||||
await expect(
|
||||
page.getByRole("row", { name: /changed word\/document\.xml/u }),
|
||||
).toContainText(/[0-9a-f]{12} ↔ [0-9a-f]{12}/u);
|
||||
});
|
||||
|
||||
test("integrates help, theme, PWA identity and hardened headers", async ({
|
||||
@@ -123,7 +132,7 @@ test("integrates help, theme, PWA identity and hardened headers", async ({
|
||||
const manifest = await request.get("/deep/nested/package/toolbox-app.json");
|
||||
await expect(manifest.json()).resolves.toMatchObject({
|
||||
id: "de.add-ideas.package-tools",
|
||||
version: "0.1.0",
|
||||
version: "0.2.0",
|
||||
privacy: { processing: "local", telemetry: false },
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user