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

CreateModModal causes multiple DOM elements with same id #9238

Open
twschiller opened this issue Oct 6, 2024 · 0 comments
Open

CreateModModal causes multiple DOM elements with same id #9238

twschiller opened this issue Oct 6, 2024 · 0 comments

Comments

@twschiller
Copy link
Contributor

Context

  • Certain modals, e.g., the CreateModModal can cause multiple elements with the same id to be on the Page. That's because there are scenarios the form in the modal has fields with the same name as the being displayed in the main content
  • That results in technically invalid HTML, and breaks getByLabel and label-based logic in Playwright

Discussion

Related Code

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