mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-01 04:12:10 +00:00
Update instance title in tests
This commit is contained in:
parent
8e33f82a85
commit
2599737033
6 changed files with 25 additions and 25 deletions
|
@ -9,7 +9,7 @@ test.beforeAll(async ({browser}, workerInfo) => {
|
|||
test('Load Homepage', async ({page}) => {
|
||||
const response = await page.goto('/');
|
||||
await expect(response?.status()).toBe(200); // Status OK
|
||||
await expect(page).toHaveTitle(/^Gitea: Git with a cup of tea\s*$/);
|
||||
await expect(page).toHaveTitle(/^Forgejo: Beyond coding. We Forge.\s*$/);
|
||||
await expect(page.locator('.logo')).toHaveAttribute('src', '/assets/img/logo.svg');
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue