✨(frontend) show version number in footer (#461)
In order to see the version number pushed into production
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user