Hi I have 5 specs that my playwright runs. All of them are using the baseUrl which is set in my playwright.config.js BUT I would like 2 out of those 5 tests to run on a different baseUrl. Is that even possible?
Playwright change baseUrl only for specific set of specs
133 Views Asked by David Pongo At
2
That you can, just put the tests you want to run with overridden baseUrl inside a describe like this:
...or to use on whole spec file, put the test.use line on top of the file