We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceeeb1d commit dd155eaCopy full SHA for dd155ea
1 file changed
e2e/events.spec.ts
@@ -7,9 +7,10 @@ test.beforeEach(async ({ page }) => {
7
test.describe('Test if see more link is clickable', () => {
8
test('should navigate to the correct URL when See More is clicked', async ({
9
page,
10
+ context,
11
}) => {
12
const [newPage] = await Promise.all([
- page.waitForEvent('popup'),
13
+ context.waitForEvent('page'),
14
page.locator('#events >> text="See More"').click(),
15
]);
16
await expect(newPage).toHaveURL(
0 commit comments