Fixed test
This commit is contained in:
parent
9f05a0ff07
commit
4ba72f8be2
|
|
@ -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)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue