Skip to content

Commit

Permalink
test: Improve e2e workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ramedina86 committed Dec 3, 2024
1 parent b1c14da commit c7c955b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/e2e/tests/workflows.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"]`,
);
Expand Down Expand Up @@ -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"]`,
);
Expand Down

0 comments on commit c7c955b

Please sign in to comment.