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

Consistent behat failure on "I can delete a recording"

XMLWordPrintable

    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MOODLE_401_STABLE
    • MDL-77285-401
    • MDL-77285-master
    • Hide

      Start BBB mock docker:

      docker run -p 8001:80 moodlehq/bigbluebutton_mock
      

      Add the following line to your config.php

      define('TEST_MOD_BIGBLUEBUTTONBN_MOCK_SERVER', "http://localhost:8001/hash" . sha1($CFG->wwwroot));
      

      Init behat with support for both themes:

      php admin/tool/behat/cli/init.php -a
      

      Run the affected scenario:

      vendor/bin/behat --config /path/to/behat.yml --name="I can delete a recording" --suite=classic
      

      Ensure it passes on both integration master and 401 branches.

      Show
      Start BBB mock docker: docker run -p 8001:80 moodlehq/bigbluebutton_mock Add the following line to your config.php define('TEST_MOD_BIGBLUEBUTTONBN_MOCK_SERVER', "http://localhost:8001/hash" . sha1($CFG->wwwroot)); Init behat with support for both themes: php admin/tool/behat/cli/init.php -a Run the affected scenario: vendor/bin/behat --config /path/to/behat.yml --name="I can delete a recording" --suite=classic Ensure it passes on both integration master and 401 branches.

      We are getting a consistent Behat failure related to BBB when running the "I can delete a recording" scenario on Firefox + Classic theme.

      001 Scenario: I can delete a recording                                                         # /home/simey/moodles/integration_master/moodle/mod/bigbluebuttonbn/tests/behat/recordings.feature:64
            When I click on "a[data-action='delete']" "css_element" in the "Recording 1" "table_row" # /home/simey/moodles/integration_master/moodle/mod/bigbluebuttonbn/tests/behat/recordings.feature:67
              Element <a id="recording-delete-c885146627c8ee7a51a6bfc643cad2b2-1479207059114325220" class="action-icon" href="#"> is not clickable at point (1354,11) because another element <html class="yui3-js-enabled"> obscures it (Facebook\WebDriver\Exception\ElementClickInterceptedException)
      

        1. (I) Passed -- (401)MDL-77285.png
          49 kB
          Kim Jared Lucas
        2. (I) Passed -- (Master)MDL-77285.png
          48 kB
          Kim Jared Lucas
        3. delete icon not visible.png
          141 kB
          Simey Lameze

            lameze Simey Lameze
            lameze Simey Lameze
            Huong Nguyen Huong Nguyen
            Ilya Tregubov Ilya Tregubov
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 48 minutes
                2h 48m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.