Tag screenshot tests to speed up test:playwright:screenshot

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-12-03 12:53:43 +00:00
parent 865c5b0e9c
commit cb59b2dbd2
No known key found for this signature in database
GPG key ID: A2B008A5F49F5D0D
38 changed files with 1397 additions and 1261 deletions

View file

@ -16,7 +16,7 @@ test.describe("Share dialog", () => {
},
});
test("should share a room", async ({ page, app, room }) => {
test("should share a room", { tag: "@screenshot" }, async ({ page, app, room }) => {
await app.viewRoomById(room.roomId);
await app.toggleRoomInfoPanel();
await page.getByRole("menuitem", { name: "Copy link" }).click();
@ -29,7 +29,7 @@ test.describe("Share dialog", () => {
});
});
test("should share a room member", async ({ page, app, room, user }) => {
test("should share a room member", { tag: "@screenshot" }, async ({ page, app, room, user }) => {
await app.viewRoomById(room.roomId);
await app.client.sendMessage(room.roomId, { body: "hello", msgtype: "m.text" });
@ -46,7 +46,7 @@ test.describe("Share dialog", () => {
});
});
test("should share an event", async ({ page, app, room }) => {
test("should share an event", { tag: "@screenshot" }, async ({ page, app, room }) => {
await app.viewRoomById(room.roomId);
await app.client.sendMessage(room.roomId, { body: "hello", msgtype: "m.text" });