Fixed test

This commit is contained in:
surfingbytes 2026-04-04 11:26:06 +00:00
parent 9f05a0ff07
commit 4ba72f8be2
1 changed files with 2 additions and 1 deletions

View File

@ -72,7 +72,8 @@ test.describe('Projects', () => {
await expect(page.locator('.project-title')).toContainText(newProjectName)
await expect(page.locator('.project-title')).not.toContainText(projects[0].title)
await expect(page.locator('.menu-container .menu-list').getByRole('listitem').filter({hasText: newProjectName})).toBeVisible()
await page.goto('/')
await page.locator('.logo-link').click()
await page.waitForLoadState('networkidle')
await expect(page.locator('.project-grid')).toContainText(newProjectName)
await expect(page.locator('.project-grid')).not.toContainText(projects[0].title)
})