test(admin): passing custom css
This commit is contained in:
@@ -103,7 +103,6 @@ export async function openNav(page: Page): Promise<void> {
|
||||
if (await page.locator('.template-default.template-default--nav-open').isVisible()) return
|
||||
// playwright: get first element with .nav-toggler which is VISIBLE (not hidden), could be 2 elements with .nav-toggler on mobile and desktop but only one is visible
|
||||
await page.locator('.nav-toggler >> visible=true').click()
|
||||
|
||||
await expect(page.locator('.template-default.template-default--nav-open')).toBeVisible()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user