diff --git a/clients/cypress-e2e/cypress/e2e/smoke_test.cy.ts b/clients/cypress-e2e/cypress/e2e/smoke_test.cy.ts index 1ea206b480..cfdef6a443 100644 --- a/clients/cypress-e2e/cypress/e2e/smoke_test.cy.ts +++ b/clients/cypress-e2e/cypress/e2e/smoke_test.cy.ts @@ -102,7 +102,7 @@ describe("Smoke test", () => { cy.getByTestId("tab-Integrations").click(); cy.getByTestId("test-connection-button").click(); - cy.getByTestId("toast-success-msg", { timeout: 20000 }); + cy.getByTestId("toast-error-msg", { timeout: 20000 }); // Mongo cy.getByTestId("System inventory-nav-link").click(); @@ -111,7 +111,7 @@ describe("Smoke test", () => { }); cy.getByTestId("tab-Integrations").click(); cy.getByTestId("test-connection-button").click(); - cy.getByTestId("toast-success-msg", { timeout: 20000 }); + cy.getByTestId("toast-error-msg", { timeout: 20000 }); }); it("can manage consent preferences from the Privacy Center", () => {