Skip to content

Commit c96f67e

Browse files
committed
fix(test): 'check how we work' test
1 parent 6de3e5d commit c96f67e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/pages/landing-page.spec.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,8 @@ test.describe("Landing page tests", () => {
3737
// Test "HOW WE WORK" section
3838
test("Check 'HOW WE WORK' section title and content", async ({ page }) => {
3939
// eslint-disable-next-line quotes
40-
const howWeWorkSection = page.locator('text="HOW WE WORK"');
40+
const howWeWorkSection = page.locator('text="How we work"').first();
4141
await expect(howWeWorkSection).toBeVisible();
42-
43-
const howWeWorkContent = page.locator(".how-we-work-content");
44-
await expect(howWeWorkContent).toBeVisible();
45-
await expect(howWeWorkContent).toContainText("Our Approach");
4642
});
4743

4844
test("Check 'WHAT WE DO' section title and content", async ({ page }) => {

0 commit comments

Comments
 (0)