We've recently upgraded to Moodle 3.1.1, and we have a lot of behat tests failing on the annotation page.
For example, running /mod/assign/feedback/editpdf/tests/behat/annotate_pdf.feature gives the error :
And I should see "Page 1 of 3" # /app/apache2/htdocs/moodle/mod/assign/feedback/editpdf/tests/behat/annotate_pdf.feature:57
"Page 1 of 3" text was not found in the page (Behat\Mink\Exception\ExpectationException)
It tries to generate the PDF for a few seconds, then goes on and the scenario fails.
I have the same problem on every assign test.
I've tried to add a And I wait "10" seconds command but it doesn't help.
I'm using Selenium 2.53, have tried it with 2.47.
Has anyone had this problem?