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

Allow for users to create/assert on input() signals #29732

Open
AtofStryker opened this issue Jun 24, 2024 · 0 comments
Open

Allow for users to create/assert on input() signals #29732

AtofStryker opened this issue Jun 24, 2024 · 0 comments
Labels
CT Issue related to component testing npm: @cypress/angular @cypress/angular package issues

Comments

@AtofStryker
Copy link
Contributor

What would you like?

Allow for users to assert on input() signals within the @cypress/angular-signals test harness.

Why is this needed?

There isn't a great way to set input signals in a component due to how input signals are instantiated. They require an angular injection context, and since Cypress lives outside this context, it is difficult to instantiate. To work around this currentlly, we convert the input() signal value to a writable signal.

Other

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CT Issue related to component testing npm: @cypress/angular @cypress/angular package issues
Projects
None yet
Development

No branches or pull requests

1 participant