Skip to content

Commit 56fbba5

Browse files
committed
test: add EPFL logo test
1 parent 4ca033c commit 56fbba5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

web/frontend/tests/navbar.spec.ts

+6
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ test('Assert D-Voting logo is present', async ({ page }) => {
2929
await expect(await logo.getByRole('link')).toHaveAttribute('href', '/');
3030
});
3131

32+
test('Assert EPFL logo is present', async ({ page }) => {
33+
const logo = await page.getByTestId('leftSideNavBarEPFLLogo');
34+
await expect(logo).toBeVisible();
35+
await expect(await logo.getByRole('link')).toHaveAttribute('href', 'https://epfl.ch');
36+
});
37+
3238
test('Assert link to form table is present', async ({ page }) => {
3339
const forms = await page.getByRole('link', { name: i18n.t('navBarStatus') });
3440
await expect(forms).toBeVisible();

0 commit comments

Comments
 (0)