-
Notifications
You must be signed in to change notification settings - Fork 9
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
🐛 Duplicate Test IDs for DRep Links and Identity Reference Field Errors #1965
Comments
@jdyczka Here is the ticket for missing test-ids. |
@spannercode Right now test ids for inputs are generated automatically based on the error message. So in theory this can also affect other places where there are different fields, but with the same error message. The same applies to the hint below the input. |
To document it here, our recommendation would be to fix this specific case first so that we can working tests and properly refactor while unpacking the pillars. |
…-for-reference-errors [#1965] fix duplicate testIds for reference errors and hints
Area
Delegation Pillar
Domain
preview.gov.tools
Which wallet were you using?
No response
Context
Test IDs for all fields should be unique to ensure accurate testing and identification. Currently, the test IDs for the error messages related to description, URL of links, and identity fields are duplicated (e.g.,
invalid-url-error
andmax-80-characters-error
). This issue also includes the overlap where the description error message shares a test ID with one of the name error messages i.emax-80-characters-error
. Therefore, distinct test IDs are required for each error message to avoid confusion and ensure proper testing.Steps to reproduce
/register_dRep
page.Actual behavior
Test IDs for the error messages of description, and URL, of identity and links reference are duplicated, which may lead to confusion during testing.
Expected behavior
Each error message should have a unique test ID to ensure clear and accurate testing.
The text was updated successfully, but these errors were encountered: