I upgraded Next.js version from 12.0.10
to 12.2.2
. Now, when I run:
yarn env PWDEBUG=console && playwright test --config=test/e2e/playwright.config.ts
,
it throws:
Using config at /Users/jakubwasowski/Desktop/wishi/test/e2e/playwright.config.ts
Unknown or unexpected option: --config
I totally can't figure out why it is happening. Downgrading Next.js version back to 12.0.10
solves the problem.
Somebody had similar problem?
Any hints?