Aman-Mittal opened a new pull request, #511:
URL: https://github.com/apache/fineract-backoffice-ui/pull/511

   Closes #510.
   
   `RELEASING.md` and `DOCS/RBAC.md` both still give the Karma-era command:
   
   ```bash
   npm run test -- --watch=false --browsers=ChromeHeadless
   ```
   
   `--browsers` needs a browser provider, and the builder's check is for the 
bare `playwright` or `webdriverio` package. This project depends on 
`@playwright/test`, which does not satisfy it, so the command dies before 
running a test:
   
   ```
   Error: The "browsers" option requires either "playwright" or "webdriverio" 
to be
   installed within the project.
       at VitestExecutor.initializeVitest 
(@angular/build/.../vitest/executor.js:250:19)
   ```
   
   `--watch=false` still works — `watch` is a real option on the builder — but 
it is redundant outside a TTY.
   
   Both now say `npm run test:unit`, which is the command `ci.yml` runs. 
Verified on this branch: `npm run test:unit` gives 236 files / 1415 tests, exit 
0, while the old command fails as above.
   
   Docs only; no source or configuration changed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to