playwright/packages
Younes Jaaidi 2aa4597597 Add support for Angular 17 (#5)
* feat(ct): angular component testing

* test(ct): test non-event-emitter outputs

* test(ct): test output listener replacement

* feat(ct): support non-event-emitter outputs

* docs(ct): angular

* fix(ct): angular source maps

* chore(ct): new angular logo

* refactor(ct-angular): bump to Angular 17 and move out analogjs plugin

Co-authored-by: Edouard Bozon <bozonedouard@gmail.com>

* refactor(ct-angular): fix component resolution by temporary removing analogjs plugin

Co-authored-by: Edouard Bozon <bozonedouard@gmail.com>

* refactor(ct-angular): fix mount

Co-authored-by: Edouard Bozon <bozonedouard@gmail.com>

* refactor(ct-angular): disable analog plugin as it breaks component registration

* refactor(ct-angular): fix input forwarding

* refactor(ct-angular): fix angular outputs

* refactor(ct-angular): fix angular slots

* test(ct-angular): fix all tests

* test(ct-angular): fix all angular tests

* test(ct-angular): use analog's vite plugin to handle template files

* refactor(ct-angular): remove router-specific code

* refactor(ct-angular): clean up dependencies

* refactor(ct-angular): remove compiler import

* refactor(ct-angular): fix vite version mismatch in tests

* refactor(ct-angular): bump @playwright/experimental-ct-angular to 1.42.0-next

* test(ct-angular): add tests for template rendering

* feat(ct-angular): render simple template

* feat(ct-angular): render template with child components

* feat(ct-angular): render component with signal inputs

* test(ct-angular): make input required

* test(ct-angular): remove now useless import

* feat(ct-angular): allow setting providers

* refactor(ct-angular): clean up slots remains

* feat(ct): angular component testing

* test(ct): test non-event-emitter outputs

* test(ct): test output listener replacement

* feat(ct): support non-event-emitter outputs

* fix(ct): angular source maps

* docs(ct): angular

* chore(ct): new angular logo

* feat(ct-angular): add pw-angular bin

* test(ct-angular): fix type check

use strict dependencies versions to reduce unpredictable behavior as package-lock.json is gitignored

* refactor(ct-angular): remove useless NODE_ENV=test

as we are setting the tsconfig manually
Cf. https://github.com/sand4rt/playwright/pull/5#discussion_r1541172952

* refactor(ct-angular): use playwright.config.mts as analog vite plugin is esm only

* chore(ct-angular): lint

* fix(ct-angular): resolve Angular component usages

* fix(ct-angular): resolve Angular imports/providers usages

* test(ct-angular): test url change

* test(ct-angular): remove duplicate test

* chore(ct-angular): remove useless pw-angular cli

* chore(ct-angular): remove duplicate PlaywrightTestConfig type

* feat(ct-angular): export the right types

* chore(ct-angular): tidy up

* feat(ct-angular): throw an explicit error when mounting JSX

* chore(ct-angular): remove vite from devDependencies as not used anymore

* chore(ct-angular): remove useless skipLibCheck flag

* chore(ct-angular): remove useless @angular/compiler

Angular's esbuild plugin will automatically add it in jit mode anyway.
Users who really want to use another plugin that requires it can still add it manually to their playwright/index.ts.

* test(ct-angular): improve output listener update test

* chore(ct): revert adapters imports and template

---------

Co-authored-by: sand4rt <info@mesander.com>
Co-authored-by: Edouard Bozon <bozonedouard@gmail.com>
2024-05-07 22:29:31 +02:00
..
html-reporter feat(html): allow ctrl+clicking status (#30556) 2024-04-26 10:50:20 -07:00
playwright docs(reporters): wrap reporter in array, fixing typo in docs (#30686) 2024-05-07 11:16:21 +00:00
playwright-browser-chromium chore: mark 1.45.0-next (#30598) 2024-04-29 17:19:05 -07:00
playwright-browser-firefox chore: mark 1.45.0-next (#30598) 2024-04-29 17:19:05 -07:00
playwright-browser-webkit chore: mark 1.45.0-next (#30598) 2024-04-29 17:19:05 -07:00
playwright-chromium chore: mark 1.45.0-next (#30598) 2024-04-29 17:19:05 -07:00
playwright-core chore: print resolved host in the http server terminal (#30677) 2024-05-06 11:01:36 -07:00
playwright-ct-angular Add support for Angular 17 (#5) 2024-05-07 22:29:31 +02:00
playwright-ct-core Add support for Angular 17 (#5) 2024-05-07 22:29:31 +02:00
playwright-ct-react chore: mark 1.45.0-next (#30598) 2024-04-29 17:19:05 -07:00
playwright-ct-react17 chore: mark 1.45.0-next (#30598) 2024-04-29 17:19:05 -07:00
playwright-ct-solid chore: mark 1.45.0-next (#30598) 2024-04-29 17:19:05 -07:00
playwright-ct-svelte chore: mark 1.45.0-next (#30598) 2024-04-29 17:19:05 -07:00
playwright-ct-vue chore: mark 1.45.0-next (#30598) 2024-04-29 17:19:05 -07:00
playwright-ct-vue2 chore: mark 1.45.0-next (#30598) 2024-04-29 17:19:05 -07:00
playwright-firefox chore: mark 1.45.0-next (#30598) 2024-04-29 17:19:05 -07:00
playwright-test chore: mark 1.45.0-next (#30598) 2024-04-29 17:19:05 -07:00
playwright-webkit chore: mark 1.45.0-next (#30598) 2024-04-29 17:19:05 -07:00
protocol/src feat(fetch): sendImmediately (#30627) 2024-05-02 16:30:12 -07:00
recorder fix(recorder): reference Language enum for recorderTypes (#29294) 2024-02-01 13:48:30 -08:00
trace/src feat(trace): show target point for raw mouse apis (#28459) 2023-12-07 06:27:49 -08:00
trace-viewer chore: extract trace modernizer into its own class (#30696) 2024-05-07 11:42:28 -07:00
web chore: split ui mode view into files (#30029) 2024-03-20 16:00:35 -07:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00