mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 10:32:44 +00:00
Fix playwright tests locally (#32974)
This commit is contained in:
committed by
GitHub
parent
0d1d889c28
commit
fc870bd676
@@ -122,7 +122,7 @@ test.describe("HTML Export", () => {
|
||||
await download.saveAs(zipPath);
|
||||
|
||||
const zip = await extractZipFileToPath(zipPath, dirPath);
|
||||
await page.goto(`file://${dirPath}/${Object.keys(zip.files)[0]}/messages.html`);
|
||||
await page.goto(`file://${dirPath}/${Object.keys(zip.files).find((f) => f.endsWith("/messages.html"))}`);
|
||||
await expect(page).toMatchScreenshot("html-export.png", {
|
||||
mask: [page.locator(".mx_TimelineSeparator")],
|
||||
css: `
|
||||
|
||||
Reference in New Issue
Block a user