forked from hinterland/hearth
feat: vendor gitea 1.16.2
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import {test, expect} from '@playwright/test';
|
||||
import {login, logout} from './utils.ts';
|
||||
|
||||
test('homepage', async ({page}) => {
|
||||
await page.goto('/');
|
||||
await expect(page.getByRole('img', {name: 'Logo'})).toHaveAttribute('src', '/assets/img/logo.svg');
|
||||
});
|
||||
|
||||
test('login and logout', async ({page}) => {
|
||||
await login(page);
|
||||
await logout(page);
|
||||
});
|
||||
Reference in New Issue
Block a user