Poodll filter breaks behat tests

Poodll filter breaks behat tests

by Paula Ardanza -
Number of replies: 1

Hi,

When we run behat tests for atto/plugins/media/ we got an error if Poodll filter is installed:

- Moodle 3.3.1

- Poodll : master branch (not poodll3)


vendor/bin/behat --config ../behat.yml lib/editor/atto/plugins/media/tests/behat/media.feature

Moodle 3.3.1 (Build: 20170710, Build StudiUM: 20170814), 8c1ecddf7d129b8c7e659d03906f81017b94a48d

Php: 5.6.30, mysqli: 5.6.15, OS: Linux 4.11.6-101.fc24.x86_64 x86_64

Server OS "Linux", Browser: "firefox"

Started at 08-09-2017, 01:36

..F---------------------..F------------------------..F---------------- 70

------------..F------------------------..F---------------------------- 140

------------------------------------------------------------------


--- Failed steps:

001 Scenario: Insert some media as a link                                                        # /app/apache2/htdocs/moodle/lib/editor/atto/plugins/media/tests/behat/media.feature:23

      And I upload "lib/editor/atto/tests/fixtures/moodle-logo.webm" file to "Files" filemanager # /app/apache2/htdocs/moodle/lib/editor/atto/plugins/media/tests/behat/media.feature:8

        The "//div[contains(concat(' ', normalize-space(@class), ' '), ' file-picker ')]//div[contains(concat(' ', normalize-space(@class), ' '), ' fp-content ')][not(descendant::div[contains(concat(' ', normalize-space(@class), ' '), ' fp-content-loading ')])]" element does not exist and should exist (Behat\Mink\Exception\ExpectationException)


002 Scenario: Insert some media as a plain video                                                 # /app/apache2/htdocs/moodle/lib/editor/atto/plugins/media/tests/behat/media.feature:35

      And I upload "lib/editor/atto/tests/fixtures/moodle-logo.webm" file to "Files" filemanager # /app/apache2/htdocs/moodle/lib/editor/atto/plugins/media/tests/behat/media.feature:8

        The "//div[contains(concat(' ', normalize-space(@class), ' '), ' file-picker ')]//div[contains(concat(' ', normalize-space(@class), ' '), ' fp-content ')][not(descendant::div[contains(concat(' ', normalize-space(@class), ' '), ' fp-content-loading ')])]" element does not exist and should exist (Behat\Mink\Exception\ExpectationException)


003 Scenario: Insert some media as a video with display settings                                 # /app/apache2/htdocs/moodle/lib/editor/atto/plugins/media/tests/behat/media.feature:50

      And I upload "lib/editor/atto/tests/fixtures/moodle-logo.webm" file to "Files" filemanager # /app/apache2/htdocs/moodle/lib/editor/atto/plugins/media/tests/behat/media.feature:8

        The "//div[contains(concat(' ', normalize-space(@class), ' '), ' file-picker ')]//div[contains(concat(' ', normalize-space(@class), ' '), ' fp-content ')][not(descendant::div[contains(concat(' ', normalize-space(@class), ' '), ' fp-content-loading ')])]" element does not exist and should exist (Behat\Mink\Exception\ExpectationException)


004 Scenario: Insert some media as a video with advanced settings                                # /app/apache2/htdocs/moodle/lib/editor/atto/plugins/media/tests/behat/media.feature:69

      And I upload "lib/editor/atto/tests/fixtures/moodle-logo.webm" file to "Files" filemanager # /app/apache2/htdocs/moodle/lib/editor/atto/plugins/media/tests/behat/media.feature:8

        The "//div[contains(concat(' ', normalize-space(@class), ' '), ' file-picker ')]//div[contains(concat(' ', normalize-space(@class), ' '), ' fp-content ')][not(descendant::div[contains(concat(' ', normalize-space(@class), ' '), ' fp-content-loading ')])]" element does not exist and should exist (Behat\Mink\Exception\ExpectationException)


005 Scenario: Insert some media as a video with tracks                                           # /app/apache2/htdocs/moodle/lib/editor/atto/plugins/media/tests/behat/media.feature:84

      And I upload "lib/editor/atto/tests/fixtures/moodle-logo.webm" file to "Files" filemanager # /app/apache2/htdocs/moodle/lib/editor/atto/plugins/media/tests/behat/media.feature:8

        The "//div[contains(concat(' ', normalize-space(@class), ' '), ' file-picker ')]//div[contains(concat(' ', normalize-space(@class), ' '), ' fp-content ')][not(descendant::div[contains(concat(' ', normalize-space(@class), ' '), ' fp-content-loading ')])]" element does not exist and should exist (Behat\Mink\Exception\ExpectationException)


5 scenarios (5 failed)

206 steps (10 passed, 5 failed, 191 skipped)

6m2.15s (70.80Mb)


Does anyone have had the same problem ? Thanks,


Paula.

Average of ratings: -