The documentation recommends using mode: cli for Playwright:
https://github.github.com/gh-aw/reference/playwright/#cli-mode-recommended
However, when I follow this recommendation, compilation fails with an error.
Environment
Steps to Reproduce
-
Configure a workflow using:
tools:
playwright:
mode: cli
-
Run:
gh aw compile docs-playwright-tests
Actual Result
Compilation fails with:
✗ Compiled 1 workflow(s): 1 error(s), 0 warning(s)
✗ Failed workflows:
✗ docs-playwright-tests.md
.github\workflows\docs-playwright-tests.md:66:5: error: Unknown property: mode. Valid fields are: args, version. 'mode' belongs under 'tools/github'
63 |
64 | tools:
65 | playwright:
66 | mode: cli
^^^^
67 | bash:
68 | - "npm *"
69 | - "npx serve *"
Expected Result
mode: cli should be accepted under tools.playwright as described in the documentation, or the documentation should clarify the correct configuration.
The documentation recommends using
mode: clifor Playwright:https://github.github.com/gh-aw/reference/playwright/#cli-mode-recommended
However, when I follow this recommendation, compilation fails with an error.
Environment
Steps to Reproduce
Configure a workflow using:
Run:
Actual Result
Compilation fails with:
Expected Result
mode: clishould be accepted undertools.playwrightas described in the documentation, or the documentation should clarify the correct configuration.