Hi,
I have an element whose the class name can change (icon display on the page):
<span class="eui-icon eui-icon-add eui-u-color-success ng-star-inserted"></span>
or
<span class="eui-icon eui-icon-minus eui-u-color-danger ng-star-inserted"></span>
I would like to check that the attribute class contains the text “add” or “minus”.
I tries with storeAttribute
for storing the attribute class in a variable but I don’t know how to verify a part of the created variable
Could you please help me with that ?
Thanks in advance