dimanche 27 mai 2018

Referencing elements in unit and selenium tests when "class" is not available

I'm developing projects using javascript (React). I'm using modular css which randomizes class name so I cannot have a hold on it using css selectors later in tests.

What are my options if I want to make referencing UI elements easier in tests (be it unit or selenium)?

Aucun commentaire:

Enregistrer un commentaire