MDL-42283 Behat: Automated MDLQA-1777

MDLQA-1777: A teacher can set grade conditions to restrict availability of a section