mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-05 22:25:36 +00:00
Reference files in Playwright more reliably (#32935)
Without assuming the cwd
This commit is contained in:
committed by
GitHub
parent
5a074e637a
commit
cd429874db
@@ -5,12 +5,12 @@ SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Com
|
||||
Please see LICENSE files in the repository root for full details.
|
||||
*/
|
||||
|
||||
import * as fs from "node:fs";
|
||||
import { type EventType, type MsgType, type RoomJoinRulesEventContent } from "matrix-js-sdk/src/types";
|
||||
|
||||
import { test, expect } from "../../element-web-test";
|
||||
import { readSampleFileSync } from "../../sample-files";
|
||||
|
||||
const MEDIA_FILE = fs.readFileSync("playwright/sample-files/riot.png");
|
||||
const MEDIA_FILE = readSampleFileSync("riot.png", null);
|
||||
|
||||
test.describe("Media preview settings", () => {
|
||||
test.use({
|
||||
|
||||
Reference in New Issue
Block a user