I am trying to run the behat test for admin/tool/editrolesbycap/tests/behat/basic_test.feature but it keeps failing with the following feedback:
"Edit your own questions (moodle/question:editmine)" "option" is visible In step `And "Edit your own questions (moodle/question:editmine)" "option" should not be visible'. From scenario `Find a capability, and edit the permissions for it.'. Of feature `Test all the basic functionality of this admin tool'.
After looking at my fail logs, it appears that the test is properly filtering that element out, but when Selenium looks in the DOM it is still seeing the option and causing the test to fail. The options that should be hidden have a style="display: none;" tag that I think may be the root of the issue.
Is this test failing at this step for others as well?