From c7c955bec9a8b71402d6e57281137d1179e33d33 Mon Sep 17 00:00:00 2001 From: Ramiro Medina <64783088+ramedina86@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:58:20 +0000 Subject: [PATCH] test: Improve e2e workflows --- tests/e2e/tests/workflows.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/e2e/tests/workflows.spec.ts b/tests/e2e/tests/workflows.spec.ts index 89dcc2664..d8ccef8bc 100644 --- a/tests/e2e/tests/workflows.spec.ts +++ b/tests/e2e/tests/workflows.spec.ts @@ -33,6 +33,7 @@ test.describe("Workflows", () => { await expect(rowsLocator).toHaveCount(3); const rowLocator = rowsLocator.filter({ hasText: "Return value" }); await rowLocator.getByRole("button", { name: "Details" }).click(); + await expect(".BuilderModal").toBeVisible(); const resultsLocator = page.locator( `.BuilderModal [data-automation-key="result"]`, ); @@ -98,6 +99,7 @@ test.describe("Workflows", () => { await expect(rowsLocator).toHaveCount(5); const rowLocator = rowsLocator.filter({ hasText: "Return value" }).first();; await rowLocator.getByRole("button", { name: "Details" }).click(); + await expect(".BuilderModal").toBeVisible(); const returnValueLocator = page.locator( `.BuilderModal [data-automation-key="return-value"]`, );