fix(e2e): remove unnecessary wait for networkidle and fix selectors (#6370)

This commit is contained in:
Jesse Mazzella
2023-04-18 13:25:43 -07:00
committed by GitHub
parent 2820237d60
commit f055a8a0c7
3 changed files with 12 additions and 13 deletions

View File

@@ -74,7 +74,6 @@ async function createDomainObjectWithDefaults(page, { type, name, parent = 'mine
// Navigate to the parent object. This is necessary to create the object
// in the correct location, such as a folder, layout, or plot.
await page.goto(`${parentUrl}?hideTree=true`);
await page.waitForLoadState('networkidle');
//Click the Create button
await page.click('button:has-text("Create")');