-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
maintenanceCode maintenance tasks, such as refactoringCode maintenance tasks, such as refactoring
Description
The frontend tests simulate, say, entering an input by finding the id of the input and simulating a change. For example, this test finds the second "new-password" id in the DOM and simulates inputting text there.
However, if another "new-password" ID is added, the input will no longer be the second "new-password" ID, it might now be the third. So the test would fail.
So, we should have components that are targeted by tests have unique IDs for the test to be picked out by the test.
Metadata
Metadata
Assignees
Labels
maintenanceCode maintenance tasks, such as refactoringCode maintenance tasks, such as refactoring