Skip to content

Commit

Permalink
CI - wait until "operators" appears before typing (#5231)
Browse files Browse the repository at this point in the history
Wait until "operators" appears before typing

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
  • Loading branch information
antgamdia authored Aug 23, 2022
1 parent f53b70a commit 310df9f
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 310df9f

Please sign in to comment.