Skip to content

Commit 4f3c640

Browse files
committed
fix(test): assert 'WHAT WE DO' content shows
1 parent caed3c4 commit 4f3c640

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/pages/landing-page.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ test.describe("Landing page tests", () => {
4646
const whatWeDoSection = page.locator('text="what we do"');
4747
await expect(whatWeDoSection).toBeVisible();
4848

49-
const whatWeDoContent = page.locator(".what-we-do-content");
49+
const whatWeDoContent = page.locator(".what-we-do-content").first();
5050
await expect(whatWeDoContent).toBeVisible();
51-
await expect(whatWeDoContent).toContainText("Services");
5251
});
5352

5453
test("Check 'OUR EVENTS' section title, events card, and 'View More' button", async ({

0 commit comments

Comments
 (0)