Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs]: Fixtures - override page fixture not working #34066

Open
fdm-mateco opened this issue Dec 18, 2024 · 1 comment
Open

[Docs]: Fixtures - override page fixture not working #34066

fdm-mateco opened this issue Dec 18, 2024 · 1 comment

Comments

@fdm-mateco
Copy link

Page(s)

https://playwright.dev/docs/test-fixtures#overriding-fixtures

Description

I copied the following code:

import { test as base } from '@playwright/test';

export const test = base.extend({
  page: async ({ baseURL, page }, use) => {
    await page.goto(baseURL);
    await use(page);
  },
});

And I get this error:

Image

@mxschmitt
Copy link
Member

Could you try our Canary release? Probably related to #33763

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants