Skip to content

Add experimental Playwright integration tests

Created by: vovakulikov

Backgoround

Currently, we use puppeteer for our e2e and integrations tests. Puppeteer supports chrome and firefox driver however it turned out that firefox driver doesn't work well without tests (it's a good question why). Also, there's no way to run our tests in WebKit-based browsers (like Safari). Sometimes we have WebKit-specific problems that can ruin all app (like incorrect/unsupported regexp in Safari).

Proposal

Try to use the Playwright solution for our integrations and maybe e2e tests.

Playwright is a kind of new tool but does the same thing that puppeteer does (in fact that project started as a fork of puppeteer). But this tool has a number of advantages

  • Test across all modern browsers (chromium, firefox, web-kit)
  • Rich and almost compatible with Puppeteer browser API
  • Fast installation since Playwright uses cache between installations