catalyst / moodle-auth_outage

Planned, graduated user and admin friendly moodle outages
https://moodle.org/plugins/auth_outage
17 stars 32 forks source link

Behat test failing - warningbar.feature #294

Closed AdilIqbal95 closed 2 years ago

AdilIqbal95 commented 2 years ago

Hi, the test stated above is failing.

Environment details: MySQL 5.7 PHP 7.4 Moodle latest MOODLE_311_STABLE

Error details: Scenario: This is how an outage should happen without maintenance mode and manual finish.

Then I should see "We are back online!" in the warning bar: Xpath matching locator "/descendant-or-self::[contains(., 'We are back online!')][count(descendant::[contains(., 'We are back online!')]) = 0]" not found. (Behat\Mink\Exception\ElementNotFoundException)

danmarsden commented 2 years ago

thanks - this is really a duplicate of #243 - feel free to help us by submitting a PR.

AdilIqbal95 commented 2 years ago

Aplogies, didn't see that. Unfortunately I don't currently have the capacity to do so.