Skip to content

Commit 77d327d

Browse files
committed
feat: adds events section changes
1 parent d6d6ccb commit 77d327d

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

e2e/events.spec.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,16 @@ test.beforeEach(async ({ page }) => {
44
await page.goto('http://localhost:3000');
55
});
66

7-
87
test.describe('Test if see more link is clickable', () => {
98
test('should navigate to the correct URL when See More is clicked', async ({
109
page,
1110
}) => {
1211
const [newPage] = await Promise.all([
1312
page.waitForEvent('popup'),
14-
page.locator('#events >> text="See More"').click()
13+
page.locator('#events >> text="See More"').click(),
1514
]);
1615
await expect(newPage).toHaveURL(
1716
'https://kommunity.com/reactjs-developer-community-kenya-reactdevske/events'
1817
);
1918
});
20-
2119
});
22-
23-
24-
25-

0 commit comments

Comments
 (0)