Skip to content

Improve testing with Tooltips

Warren Gifford requested to merge lrh/add-test-prop-to-tooltip into main

Created by: lrhacker

Adds support for data-testid on the tooltip wrapping element. Also adds data-test-content to that element for unit and snapshot testing to pick up that the correct content was passed to a tooltip component.

Adding because of this set of feedback - thank you!

Test plan

Unit tests were added using the new functionality, and snapshots were updated.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading