From 5165d8e3abda3ca6a5a7e2e60c4756c15018eafd Mon Sep 17 00:00:00 2001 From: davdhacs <105243888+davdhacs@users.noreply.github.com> Date: Mon, 22 Jun 2026 19:23:27 -0600 Subject: [PATCH 1/2] fix(ui): stabilize GCR image integration E2E test The GCR test asserts that the "New integration" button does not exist, but does so immediately after page visit without waiting for GCR-specific content to render. On GKE with higher latency, the page may not have fully settled before the assertion runs, causing a consistent failure. Wait for the GCR-specific deprecation notice alert before asserting the button's absence. AI-assisted. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../cypress/integration/integrations/imageIntegrations.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/apps/platform/cypress/integration/integrations/imageIntegrations.test.js b/ui/apps/platform/cypress/integration/integrations/imageIntegrations.test.js index 0006f334dbf80..2ddfe7ed215c2 100644 --- a/ui/apps/platform/cypress/integration/integrations/imageIntegrations.test.js +++ b/ui/apps/platform/cypress/integration/integrations/imageIntegrations.test.js @@ -229,6 +229,7 @@ describe('Image Integrations', () => { visitIntegrationsTable(integrationSource, integrationType); + cy.get('.pf-v6-c-alert:contains("Deprecation notice")').should('exist'); cy.get('[data-testid="add-integration"]').should('not.exist'); }); From 1f587c0583cf06984361f2827f34dcaedd993cf4 Mon Sep 17 00:00:00 2001 From: davdhacs <105243888+davdhacs@users.noreply.github.com> Date: Mon, 22 Jun 2026 21:10:12 -0600 Subject: [PATCH 2/2] fix(ui): correct GCR integration test wait signal The previous fix waited for a deprecation notice alert that may not be rendered in time. Wait for the IntegrationsTable "results found" h2 instead, which confirms the table component (and its button visibility logic) has rendered. AI-assisted change. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../cypress/integration/integrations/imageIntegrations.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/apps/platform/cypress/integration/integrations/imageIntegrations.test.js b/ui/apps/platform/cypress/integration/integrations/imageIntegrations.test.js index 2ddfe7ed215c2..3a2496734534b 100644 --- a/ui/apps/platform/cypress/integration/integrations/imageIntegrations.test.js +++ b/ui/apps/platform/cypress/integration/integrations/imageIntegrations.test.js @@ -229,7 +229,7 @@ describe('Image Integrations', () => { visitIntegrationsTable(integrationSource, integrationType); - cy.get('.pf-v6-c-alert:contains("Deprecation notice")').should('exist'); + cy.get('h2:contains("results found")'); cy.get('[data-testid="add-integration"]').should('not.exist'); });