scara / moodle-local_twittercard

This Moodle local plug-in emits a Twitter summary card for courses.
GNU General Public License v3.0
2 stars 1 forks source link

Deprecated behat step: I navigate to "ITEM" node in "MAINNODE > PATH" #18

Closed scara closed 5 years ago

scara commented 5 years ago

On 24/08 the deprecation has been committed to 3.6: MDL-57281.

Travis CI weekly started failing on master (3.6, https://github.com/moodle/moodle/commit/9adf5f05958ecde79382adf758f415fb9fcb7eb7), https://travis-ci.org/scara/moodle-local_twittercard/builds/420172876, e.g.:

001 Scenario: Check the Plugins overview for the name of this plugin               # /home/travis/build/moodle/local/twittercard/tests/behat/installed.feature:7
      And I navigate to "Plugins overview" node in "Site administration > Plugins" # /home/travis/build/moodle/local/twittercard/tests/behat/installed.feature:9
        Exception: Deprecated step, rather than using this step you can:
        - I navigate to "PATH" in current page administration
        - I navigate to "PATH" in site administration
        - I navigate to "TAB1 > TAB2" in the course gradebook
        - I navigate to course participants
        - If some items are not available without Navigation block at all, one can use combination of:
                                      I add the "Navigation" block if not present
                                      I click on "LINK" "link" in the "Navigation" "block"
        - Set $CFG->behat_usedeprecated in config.php to allow the use of deprecated steps
                            if you don't have any other option in /home/travis/build/moodle/lib/tests/behat/behat_deprecated.php:121