test(e2e): add user settings nav helper
This commit is contained in:
parent
2fc6f033f2
commit
726a4df539
|
|
@ -0,0 +1,6 @@
|
|||
import type {Page} from '@playwright/test'
|
||||
|
||||
export async function gotoUserSettings(page: Page, section: string) {
|
||||
await page.goto(`/user/settings/${section}`)
|
||||
await page.waitForLoadState('networkidle')
|
||||
}
|
||||
Loading…
Reference in New Issue