Skip to content
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

Failed Behat tests - import.feature #22

Open
AdilIqbal95 opened this issue May 11, 2022 · 1 comment
Open

Failed Behat tests - import.feature #22

AdilIqbal95 opened this issue May 11, 2022 · 1 comment

Comments

@AdilIqbal95
Copy link

Hi, the test stated above is failing.

Environment details:
MySQL 5.7
PHP 7.4
Moodle latest MOODLE_400_STABLE

Error details:
Scenario: import pattern match with JME question

When I navigate to "Question bank > Import" in current page administration: Link "Import" not found. (Behat\Mink\Exception\ElementNotFoundException)

@dragos5436
Copy link

Additionally, these other tests from this plugin are also failing for MOODLE_400_STABLE:

  1. /var/www/html/question/type/pmatchjme/tests/behat/export.feature:27
    Feature: Test exporting pattern match with JME questions
    Scenario: Export a pattern match with JME question
When I navigate to "Question bank > Export" in current page administration: The "(//html//section[@id='region-main']//a[contains(normalize-space(.), 'Export')])[1]" xpath node is not visible and it should be visible (Behat\Mink\Exception\ExpectationException)
  1. /var/www/html/question/type/pmatchjme/tests/behat/preview.feature:27
    Feature: Preview a pattern match with JME question
    Scenario: Preview a question and get it right.
And I switch to "questionpreview" window: Unable to locate window: questionpreview (Facebook\WebDriver\Exception\NoSuchWindowException)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants