Skip to content

Commit

Permalink
fix(e2e): should not wait for selector when there is no onboarding bu…
Browse files Browse the repository at this point in the history
…tton
  • Loading branch information
situ2001 authored and andelf committed Jan 5, 2023
1 parent d8592fa commit 2657f5a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion e2e-tests/utils.ts
Expand Up @@ -190,7 +190,6 @@ export async function loadLocalGraph(page: Page, path: string): Promise<void> {
await page.waitForSelector('#left-sidebar .dropdown-wrapper >> text="Add new graph"',
{ state: 'visible', timeout: 5000 })
await page.click('text=Add new graph')
await page.waitForSelector('strong:has-text("Choose a folder")', { state: 'visible', timeout: 5000 })

expect(page.locator('#repo-name')).toHaveText(pathlib.basename(path))
}
Expand Down

0 comments on commit 2657f5a

Please sign in to comment.