mirror of
https://github.com/wekan/wekan.git
synced 2026-11-20 09:45:04 -05:00
Runs one Playwright spec, found by its file name or a part of it, on the browsers chosen, optionally only the tests whose title matches. Also ./build.sh --playwright-spec <spec> [chromium|firefox|webkit|all] [filter]. A WeKan already answering on :3000 is used as it is. Otherwise a fresh bundle is built and the test server started the way the whole-suite runs start it (Meteor's mongod on :3001, the bundle on :3000), and both are stopped afterwards, so a single spec does not pass or fail on a stale bundle. In build.sh each browser runs natively when it can launch and in the Playwright container when it cannot; Chromium in the VSCodium Flatpak on arm64 runs natively without Docker. Logs go to .tools/log/test-playwright-spec/<datetime>/. Thanks to xet7 !