Is there a jsdom configuration as in Jest
DoroNahari opened this issue · 1 comments
DoroNahari commented
I tried to configure playwright-test in my project and i get "window is not defined"
I think i need the jsdom test env like in jest: https://jestjs.io/docs/en/configuration#testenvironment-string
mxschmitt commented
There is no jsdom integration planned. Evaluating JavaScript is only supported via the evaluation methods, e.g. page.evaluate: https://playwright.dev/docs/api/class-page#page-evaluate