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
11 changes: 10 additions & 1 deletion test/specs/account.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,16 @@ test.describe('Account security (#91)', () => {
await expect(page.getByText('Set up Authenticator application').first()).toBeVisible();
health.assertHealthy();
await closeSidebarNavIfOpen(page);
await expect(page).toHaveScreenshot('account-signing-in.png');
// The password credential's own "Created <live timestamp>" line
// (data-testrole="created-at") is real server state, not fixture data
// -- it reflects whenever this realm/user was actually provisioned,
// which differs release to release and CI run to CI run. Baked
// straight into a screenshot baseline this flakes forever (found live:
// failed in CI at both mobile-390 and iphone-393 with an ~8000-pixel
// diff, entirely the timestamp string's own length/wrap shifting
// everything after it). Masked, not asserted on, since its exact value
// was never what this screenshot exists to verify.
await expect(page).toHaveScreenshot('account-signing-in.png', { mask: [page.locator('[data-testrole="created-at"]')] });
});

test('Device activity lists the current session and offers sign-out', async ({ page, baseURL }) => {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading