hazelcast / hive

Design system built with A11Y in mind

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make data-test attribute mandatory

Sodik opened this issue · comments

Not all components have data-test attribute. It breaks existing e2e and blocks creating new reliable test cases

commented

what's worse is css-modules name mangling does make it very hard to deal with the components.

for example to get the text of a button you need selectors like this: $("[data-test='user-menu-button-trigger'] div[class*='__truncatedText'] span").text()

can't think of a simple solution :/