Skip to content

Commit 2e0abdc

Browse files
authored
Fix e2e tests (#8049)
* fix test * increase timeout
1 parent 44c78eb commit 2e0abdc

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ jobs:
848848
needs.files-changed.outputs.e2e == 'true'
849849
runs-on:
850850
group: huge-runners
851-
timeout-minutes: 40
851+
timeout-minutes: 60
852852
strategy:
853853
fail-fast: false
854854
matrix:

frontend/app/tests/e2e/docs-regression-check/tutorials/tutorial-1_object-create-update-diff-and-merge.spec.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,13 @@ test.describe("Getting started with Infrahub - Object and branch creation, updat
8383

8484
await test.step("Update confirmation and update UI", async () => {
8585
await expect(page.getByText("Tenant updated")).toBeVisible();
86-
await expect(
87-
page.getByTestId("object-header").getByText("Changes from branch cr1234")
88-
).toBeVisible();
86+
await expect(page.getByText("Changes from branch cr1234")).toBeVisible();
8987
});
9088

9189
await test.step("See initial value on main branch", async () => {
9290
await page.getByTestId("branch-selector-trigger").click();
9391
await page.getByRole("option", { name: "main default" }).click();
94-
await expect(page.getByTestId("object-header").getByText("Testing Infrahub")).toBeVisible();
92+
await expect(page.getByTestId("object-details").getByText("Testing Infrahub")).toBeVisible();
9593
});
9694
});
9795

0 commit comments

Comments
 (0)