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

Cypress form filling is not reliable #774

Open
svogt0511 opened this issue Aug 29, 2023 · 0 comments
Open

Cypress form filling is not reliable #774

svogt0511 opened this issue Aug 29, 2023 · 0 comments

Comments

@svogt0511
Copy link
Contributor

In the Cypress 'create a contact' test in the contact.test.ts form for staff_admin, organization_admin, and consortium_admin roles, the created contact does not always get a given_name and/or family_name even though the test types them into the form field. When observing the behavior through the Cypress UI, you can see the names being typed in, but they disappear from the form fields before the form is submitted. When this happens, those values aren't assigned to the contact.

Pretty sure this is a Cypress issue. Something happens that causes the form fields to be rerendered, which destroys any input that has been added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant