Skip to content

Commit 121640a

Browse files
Fix for E2E test 01 in GKE (#4258)
Signed-off-by: Rafa Castelblanque <[email protected]>
1 parent f4b1f30 commit 121640a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

integration/tests/main/01-missing-permissions.spec.js

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ test.describe("Limited user simple deployments", () => {
2828
await releaseNameLocator.fill(utils.getRandomName("test-01-release"));
2929
await page.locator('cds-button:has-text("Deploy")').click();
3030

31+
// Assertions
32+
await page.waitForSelector(".alert-items .alert-text");
3133
const errorLocator = page.locator(".alert-items .alert-text");
3234
await expect(errorLocator).toHaveCount(1);
3335
await page.waitForTimeout(5000);
@@ -69,6 +71,8 @@ test.describe("Limited user simple deployments", () => {
6971
await releaseNameLocator.fill(utils.getRandomName("test-01-release"));
7072
await page.locator('cds-button:has-text("Deploy")').click();
7173

74+
// Assertions
75+
await page.waitForSelector(".alert-items .alert-text");
7276
const errorLocator = page.locator(".alert-items .alert-text");
7377
await expect(errorLocator).toHaveCount(1);
7478
await page.waitForTimeout(5000);

0 commit comments

Comments
 (0)