Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion apps/web/playwright/e2e/crypto/complete-security.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Please see LICENSE files in the repository root for full details.
*/

import { test, expect } from "../../element-web-test";
import { logIntoElement } from "./utils";
import { createBot, logIntoElement } from "./utils";
import { isDendrite } from "../../plugins/homeserver/dendrite";

test.describe("Complete security", () => {
Expand All @@ -16,6 +16,17 @@ test.describe("Complete security", () => {
displayName: "Jeff",
});

test(
"Complete Security dialog appears correctly",
{ tag: "@screenshot" },
async ({ page, credentials, homeserver }) => {
await createBot(page, homeserver, credentials, true);
await logIntoElement(page, credentials);
await expect(page.getByRole("heading", { name: "Confirm your identity" })).toBeVisible();
await expect(page.getByRole("main")).toMatchScreenshot("complete-security.png");
},
);

test("should go straight to the welcome screen if we have no signed device", async ({
page,
homeserver,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/web/res/css/_common.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ legend {
svg {
width: inherit;
height: inherit;
vertical-align: top;
color: var(--cpd-color-icon-secondary);
}
}
Expand Down
Loading