Meteor-Community-Packages / meteor-browser-tests

A helper package for Meteor test driver packages. Runs client tests in a headless browser.
MIT License
12 stars 21 forks source link

Support latest browser versions #53

Closed nachocodoner closed 1 year ago

nachocodoner commented 1 year ago

Nightmare/Electron driver

Nightmare browser driver is working straight with latest version (^3.0.2). However, there, was an annoying warning around CSP, which I disabled it, since this is a test environment, not a production one, and we don't need to care about those securities issues.

image

image

nachocodoner commented 1 year ago

Puppeteer driver

puppeteer v19.x is the latest compatible version with node 14.x (the version Meteor 2.x requires to run)

Any version above will trigger an error on install it. image

Also, I used the option required to skip the warning:

image

nachocodoner commented 1 year ago

Playwright driver

Playwright v1.33.x is the latest compatible version with node 14.x (the version Meteor 2.x requires to run).

I also added documentation for this driver usage.

image

nachocodoner commented 1 year ago

All drivers supported has been reviewed on this PR. This is ready for review and merge.