Update instance title in tests

This commit is contained in:
0ko 2024-06-08 23:33:55 +05:00
parent 8e33f82a85
commit 2599737033
6 changed files with 25 additions and 25 deletions

View file

@ -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');
});