qupaya / sketch

A headless UI library for Angular.
MIT License
5 stars 0 forks source link

Setup Component Tests / Evaluate Playwright #19

Open Markus-Ende opened 3 months ago

Markus-Ende commented 3 months ago

We want to try Playwright: https://playwright.dev/docs/test-components

not officially supported yet. we can try: https://github.com/sand4rt/playwright-ct-angular

atennert commented 3 months ago

We are waiting for https://github.com/nrwl/nx/issues/21594 and https://github.com/microsoft/playwright/pull/27783 with the later also depending on https://github.com/sand4rt/playwright/pull/5 (✅)

The PR (third link) also blocks by itself because of a TypeScript version mismatch, due to the old Angular version, which results in the following output when trying to run the playwright component tests:

Error: The Angular Compiler requires TypeScript >=4.9.3 and <5.2.0 but 5.4.3 was found instead.