Playwright · Senior · Question 55 of 77
How do you start several services before tests?
- 1Pass an array of servers to
webServer - 2Only one server can be started by Playwright
- 3Start them from inside each test's
beforeEach
Show the answer
Correct answer: Pass an array of servers to webServer
Explanation
Each entry has its own command, URL and timeout, e.g. a frontend and a mock API.