Skip to content

Commit

Permalink
Wait until "operators" appears before typing
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
  • Loading branch information
antgamdia committed Aug 23, 2022
1 parent 1162bbf commit 2a2bcdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integration/tests/operators/06-operator-deployment.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ test("Deploys an Operator", async ({ page }) => {

// Go to operators page
await page.goto(utils.getUrl("/#/c/default/ns/kubeapps/operators"));
await page.waitForSelector('h1:has-text("Operators")');
await page.waitForFunction('document.querySelector("cds-progress-circle") === null');

// Select operator to deploy
Expand Down

0 comments on commit 2a2bcdd

Please sign in to comment.