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 · 1 comment
Open

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

AtofStryker opened this issue Jun 24, 2024 · 1 comment
Labels
CT Issue related to component testing npm: @cypress/angular @cypress/angular package issues stale no activity on this issue for a long period

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

@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Dec 22, 2024
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 stale no activity on this issue for a long period
Projects
None yet
Development

No branches or pull requests

2 participants