You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: