Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-58261

Behat failures on video.js modules.feature

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Run media/player/videojs/tests/behat/modules.feature with phantomjs profile and ensure no tests are executed (you will see exception No specifications found at path.)

      NOTE: https://docs.moodle.org/dev/Acceptance_testing/Browsers#Moodle_configuration

       

      H5. Extra test

      Run following to ensure there is no feature file missing @_file_upload with "I upload" step

      ack "I upload" -l | xargs ack "@_file_upload" -L

      Show
      Run media/player/videojs/tests/behat/modules.feature with phantomjs profile and ensure no tests are executed (you will see exception No specifications found at path.) NOTE: https://docs.moodle.org/dev/Acceptance_testing/Browsers#Moodle_configuration   H5. Extra test Run following to ensure there is no feature file missing @_file_upload with "I upload" step ack "I upload" -l | xargs ack "@_file_upload" -L
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      wip-mdl-58261-m

      Description

      The scenario Add a video as a File resource. Make sure media filters work contains the line:

      And I upload "media/player/videojs/tests/fixtures/test.mov" file to "Select files" filemanager
      

      So I think we should add @file_upload to line 22 to get rid of this error in parallel environments..

      @javascript @_file_upload
        Scenario: Add a video as a File resource. Make sure media filters work
          When I add a "File" to section "1"
          And I set the following fields to these values:
            | Name | Video File |
            | Description | Example of a video file |
          And I upload "media/player/videojs/tests/fixtures/test.mov" file to "Select files" filemanager
          And I press "Save and display"
          Then ".video-js" "css_element" should exist
       
        

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/May/17