-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
- Loading branch information
Showing
7 changed files
with
61 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ test.describe("Share dialog", () => { | |
|
||
const dialog = page.getByRole("dialog", { name: "Share room" }); | ||
await expect(dialog.getByText(`https://matrix.to/#/${room.roomId}`)).toBeVisible(); | ||
expect(dialog).toMatchScreenshot("share-dialog-room.png", { | ||
await expect(dialog).toMatchScreenshot("share-dialog-room.png", { | ||
// QRCode and url changes at every run | ||
mask: [page.locator(".mx_QRCode"), page.locator(".mx_ShareDialog_top > span")], | ||
}); | ||
|
@@ -40,7 +40,7 @@ test.describe("Share dialog", () => { | |
|
||
const dialog = page.getByRole("dialog", { name: "Share User" }); | ||
await expect(dialog.getByText(`https://matrix.to/#/${user.userId}`)).toBeVisible(); | ||
expect(dialog).toMatchScreenshot("share-dialog-user.png", { | ||
await expect(dialog).toMatchScreenshot("share-dialog-user.png", { | ||
// QRCode changes at every run | ||
mask: [page.locator(".mx_QRCode")], | ||
}); | ||
|
@@ -57,7 +57,7 @@ test.describe("Share dialog", () => { | |
|
||
const dialog = page.getByRole("dialog", { name: "Share Room Message" }); | ||
await expect(dialog.getByRole("checkbox", { name: "Link to selected message" })).toBeChecked(); | ||
expect(dialog).toMatchScreenshot("share-dialog-event.png", { | ||
await expect(dialog).toMatchScreenshot("share-dialog-event.png", { | ||
Check failure on line 60 in playwright/e2e/share-dialog/share-dialog.spec.ts GitHub Actions / Run Tests [Chrome] 4/6[Chrome] › share-dialog/share-dialog.spec.ts:49:9 › Share dialog › should share an event @screenshot
Check failure on line 60 in playwright/e2e/share-dialog/share-dialog.spec.ts GitHub Actions / Run Tests [Chrome] 4/6[Chrome] › share-dialog/share-dialog.spec.ts:49:9 › Share dialog › should share an event @screenshot
Check failure on line 60 in playwright/e2e/share-dialog/share-dialog.spec.ts GitHub Actions / Run Tests [Chrome] 4/6[Chrome] › share-dialog/share-dialog.spec.ts:49:9 › Share dialog › should share an event @screenshot
|
||
// QRCode and url changes at every run | ||
mask: [page.locator(".mx_QRCode"), page.locator(".mx_ShareDialog_top > span")], | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters