1

I am currently attempting to run automation tests with playwright and jest. I am trying to load multiple configurations(browsertype, resolution, device, url) from a csv file and run tests based on each configuration or test case. Does jest and playwright provide me a way to solve this?

Estus Flask
  • 206,104
  • 70
  • 425
  • 565
SWarr
  • 139
  • 2
  • 9
  • You can load csv by parsing it with a lib or by hand and run tests inside for loops. There's nothing exotic. Since csv file that you use isn't something that goes without saying, you can expect Jest or Playwright to handle it. – Estus Flask Jul 20 '20 at 09:40

1 Answers1

0

One can configure browsers and devices to test on with jest-playwright-preset. The preset will then launch these browsers and devices for tests.

arjunattam
  • 2,679
  • 18
  • 24