Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ct): angular component testing #27783

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Commits on May 7, 2024

  1. Configuration menu
    Copy the full SHA
    8a8c1ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81f8151 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8844ebd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bd67f8b View commit details
    Browse the repository at this point in the history
  5. fix(ct): angular source maps

    sand4rt committed May 7, 2024
    Configuration menu
    Copy the full SHA
    b880cc9 View commit details
    Browse the repository at this point in the history
  6. docs(ct): angular

    sand4rt committed May 7, 2024
    Configuration menu
    Copy the full SHA
    c39aa49 View commit details
    Browse the repository at this point in the history
  7. chore(ct): new angular logo

    sand4rt committed May 7, 2024
    Configuration menu
    Copy the full SHA
    5f76257 View commit details
    Browse the repository at this point in the history
  8. 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. #5 (comment)
    
    * 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>
    3 people committed May 7, 2024
    Configuration menu
    Copy the full SHA
    2aa4597 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a3dc1f9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4747ae0 View commit details
    Browse the repository at this point in the history
  11. fix(ct): linting issue

    sand4rt committed May 7, 2024
    Configuration menu
    Copy the full SHA
    2894096 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. chore: fix ci and formatting

    sand4rt committed May 9, 2024
    Configuration menu
    Copy the full SHA
    7f4626a View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. fix(ct): angular unused file

    sand4rt committed May 15, 2024
    Configuration menu
    Copy the full SHA
    a018a27 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. core: remove duplicate test

    sand4rt committed May 16, 2024
    Configuration menu
    Copy the full SHA
    666a18d View commit details
    Browse the repository at this point in the history