Przeglądaj źródła

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

situ2001 2 lat temu
rodzic
commit
2657f5a2f1
1 zmienionych plików z 0 dodań i 1 usunięć
  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))
   }