(frontend) show version number in footer (#461)

In order to see the version number pushed into production
This commit is contained in:
Nathan Panchout
2024-10-14 16:54:21 +02:00
committed by GitHub
parent 017f52a0dc
commit 9c9216bb51
6 changed files with 25 additions and 5 deletions

View File

@@ -87,4 +87,13 @@ test.describe('Footer', () => {
await expect(page).toHaveURL(url);
});
}
test('check if the app version is visible', async ({ page }) => {
const footer = page.locator('footer').first();
await expect(
footer.getByText(
'Version: NA • Unless otherwise stated, all content on this site is under',
),
).toBeVisible();
});
});