-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Behat tests failing #30
Comments
Additionally, these other tests from this plugin are also failing for MOODLE_400_STABLE:
|
Proposed fix in #75. This fix should fix the Behat tests but further fixes are required to get the tests to pass (details in PR). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, the tests stated below are failing.
Environment details:
MySQL 5.7
PHP 7.4
Moodle latest MOODLE_400_STABLE
Error details:
file_resources.feature - Scenario: File resources are processed.
Then I should see the feedback place holder for the "1st" file resource: Xpath_element matching locator "//li[contains(concat(' ', @Class, ' '), ' modtype_resource ')][1]//[contains(concat(' ', @Class, ' '), ' ally-anchor-wrapper ')]//[contains(concat(' ', @Class, ' '), ' ally-feedback ')]" not found. (Behat\Mink\Exception\ElementNotFoundException)
filter.feature - Scenario: Course section html is annotated
And section 1 html is annotated: Css matching locator "#section-1 > .content > div[class*="summary"] > .no-overflow[data-ally-richcontent]" not found. (Behat\Mink\Exception\ElementNotFoundException)
forum_files.feature - Scenario: Forum attachments are processed appropriately.
And I add a new discussion to "Test forum name" Open Forum with:: The "(//html/.//a
[./@href][((./@id = 'Test forum name' or contains(normalize-space(string(.)), 'Test forum name') or contains(./@title, 'Test forum name') or contains(./@rel, 'Test forum name')) or .//[(contains(concat(' ', @Class, ' '), ' icon ') or self::img) and (contains(./@alt, 'Test forum name') or contains(./@title, 'Test forum name'))])] | //html/.//
[translate(./@ROLE, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'link'][((./@id = 'Test forum name' or contains(./@value, 'Test forum name')) or contains(./@title, 'Test forum name') or contains(normalize-space(string(.)), 'Test forum name'))])[1]" xpath node is not visible and it should be visible (Behat\Mink\Exception\ExpectationException)
glossary_files.feature - Scenario: Glossary attachments are processed appropriately
And I follow "MyGlossary": The "(//html/.//a
[./@href][((./@id = 'MyGlossary' or contains(normalize-space(string(.)), 'MyGlossary') or contains(./@title, 'MyGlossary') or contains(./@rel, 'MyGlossary')) or .//[(contains(concat(' ', @Class, ' '), ' icon ') or self::img) and (contains(./@alt, 'MyGlossary') or contains(./@title, 'MyGlossary'))])] | //html/.//
[translate(./@ROLE, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'link'][((./@id = 'MyGlossary' or contains(./@value, 'MyGlossary')) or contains(./@title, 'MyGlossary') or contains(normalize-space(string(.)), 'MyGlossary'))])[1]" xpath node is not visible and it should be visible (Behat\Mink\Exception\ExpectationException)
The text was updated successfully, but these errors were encountered: