Select element with the more stable identifiers available #6

Closed
opened 2021-09-05 13:49:39 +02:00 by Simon · 1 comment
Owner

We should avoid relying on brittle selectors like button or h1 that is likely to be changed by the devs. Instead, we could ask them to include specific selector for automates or data-binded selector that are unlikely to change over time, like #ids or [data-cy=submit].

We should avoid relying on brittle selectors like `button` or `h1` that is likely to be changed by the devs. Instead, we could ask them to include specific selector for automates or data-binded selector that are unlikely to change over time, like `#ids` or `[data-cy=submit]`.
Simon added this to the Improve the cypress project milestone 2021-09-05 13:49:39 +02:00
Simon added the
bug
label 2021-09-05 13:49:39 +02:00
Author
Owner

I did not rewritted every all of them, the last testcase Allow to disconnect a connected user need a full refactor separately.

I did not rewritted every all of them, the last testcase `Allow to disconnect a connected user` need a full refactor separately.
Simon closed this issue 2022-06-30 00:36:55 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Trusk/Partie-3#6
No description provided.