Explorar o código

fix(e2e): should not wait for selector when there is no onboarding button

situ2001 %!s(int64=2) %!d(string=hai) anos
pai
achega
2657f5a2f1
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      e2e-tests/utils.ts

+ 0 - 1
e2e-tests/utils.ts

@@ -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))
   }