We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6d6ccb commit 77d327dCopy full SHA for 77d327d
1 file changed
e2e/events.spec.ts
@@ -4,22 +4,16 @@ test.beforeEach(async ({ page }) => {
4
await page.goto('http://localhost:3000');
5
});
6
7
-
8
test.describe('Test if see more link is clickable', () => {
9
test('should navigate to the correct URL when See More is clicked', async ({
10
page,
11
}) => {
12
const [newPage] = await Promise.all([
13
page.waitForEvent('popup'),
14
- page.locator('#events >> text="See More"').click()
+ page.locator('#events >> text="See More"').click(),
15
]);
16
await expect(newPage).toHaveURL(
17
'https://kommunity.com/reactjs-developer-community-kenya-reactdevske/events'
18
);
19
20
21
22
23
24
25
0 commit comments