From 310df9fe62a3994ebf9bac8355dd92d831b2d4e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20G=C3=A1mez=2C=20PhD?= Date: Tue, 23 Aug 2022 12:14:01 +0200 Subject: [PATCH] CI - wait until "operators" appears before typing (#5231) Wait until "operators" appears before typing Signed-off-by: Antonio Gamez Diaz Signed-off-by: Antonio Gamez Diaz --- integration/tests/operators/06-operator-deployment.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/integration/tests/operators/06-operator-deployment.spec.js b/integration/tests/operators/06-operator-deployment.spec.js index 6f874c6e188..716412e5820 100644 --- a/integration/tests/operators/06-operator-deployment.spec.js +++ b/integration/tests/operators/06-operator-deployment.spec.js @@ -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