Skip to content

Commit 62547aa

Browse files
Copilothairmare
andcommitted
Add named screenshot assertion to login page e2e test
Co-authored-by: hairmare <116588+hairmare@users.noreply.github.com>
1 parent 63e32a8 commit 62547aa

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packages/app/e2e-tests/app.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ test('App should render the sign-in screen', async ({ page }) => {
2222

2323
const signInButton = page.getByRole('button', { name: 'Sign In' });
2424
await expect(signInButton).toBeVisible();
25+
26+
await expect(page).toHaveScreenshot('login-page.png');
2527
});
39.3 KB
Loading

0 commit comments

Comments
 (0)