app
app copied to clipboard
Playwright: global.setup is NOT run by Testomat.io
Describe the bug In Playwright there is a concept of global.setup and teardown to run before and after all the projects: https://playwright.dev/docs/test-global-setup-teardown Issue: Playwright run is expected to 1st run global.setup file. It works fine when running from VS code, but from Testomat.io global.setup file is NOT run
To Reproduce Steps to reproduce the behavior:
- Create your playwright tests
- Create a global-setup file
- In Playwright.config file add the following row: globalSetup: require.resolve('./infra/setup/global.setup.ts')
Expected behavior global.setup file is expected to run before all the other projects
@SuperJessiK please describe how/where do you run the tests
Hi @olexandr13, i run the tests from Testomat.io from the Tests tab. See the attached picture: