Behat: How do I select from two buttons with the same value?

Re: Behat: How do I select from two buttons with the same value?

by Mariusz Szot -
Number of replies: 1
I click on "div.viewlink a" "css_element"
Can You explain this scenario step to Your customer? My first question would be: 

- What is that div.viewlink thing? can I see it?

-What is that css_element? Where can I see it? 

- How this is related to my business? what value does this brings? there are better tools to test ui... 

In reply to Mariusz Szot

Re: Behat: How do I select from two buttons with the same value?

by Ramindu Deshapriya -

Hi Mariusz,

This is a valid concern, however in some cases Moodle does not have the required elements which would help make the tests more readable, and this is no doubt being fixed continuously. 

Thanks.