Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sekhavati committed Feb 14, 2019
1 parent 7ebc8c6 commit e7f72ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ A [bookmarklet](https://en.wikipedia.org/wiki/Bookmarklet) that will highlight a

## Why would I want this?

Automation testers that write end-to-end tests can often benefit from targeting/interacting with elements in the page via `data-test-id`’s that remain constant regardless of whether the underlying element changes type (eg: from `<a>` to `<button>`). Doing so ensure the tests they write are less brittle. This tool will help them quickly visualise what is available in any given page {…:heart:}
Automation testers that write end-to-end tests can often benefit from targeting/interacting with elements in the page via `data-test-id`’s that remain constant regardless of whether the underlying element changes type (eg: from `<a>` to `<button>`). Doing so ensure the tests they write are less brittle. This tool will help them quickly visualise what is available in any given page and allow them to write tests faster {…:heart:}

From a developers perspective it can also be useful. As your application grows, you often end up with complex components that are built from other smaller ones and there is no guarantee that IDs remain unique as more are added to your codebase. This bookmarklet can go someway to identifying whether a duplicate ID is present in a page.

0 comments on commit e7f72ad

Please sign in to comment.