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

[Tests] Moodle 4.0 changes admin pages: link "Users > Enrolment methods" not found. #20

Closed scara closed 2 years ago

scara commented 2 years ago

Since 3 weeks Behat tests fail on Moodle master e.g. https://github.com/scara/moodle-local_twittercard/runs/4495424458?check_suite_focus=true#step:17:216:

--- Failed steps:

001 Scenario: Check the meta tags for a basic Twitter Summary Card - Guest Access  # /home/runner/work/moodle-local_twittercard/moodle-local_twittercard/moodle/local/twittercard/tests/behat/summary_card.feature:129
      And I navigate to "Users > Enrolment methods" in current page administration # /home/runner/work/moodle-local_twittercard/moodle-local_twittercard/moodle/local/twittercard/tests/behat/summary_card.feature:137
        Link "Users > Enrolment methods" not found.

Moodle master aka 4.0 changes UX and with MDL-72090 the admin pages have been re-designed.

scara commented 2 years ago

To keep on playing with the one-branch strategy a new local step is required to branch the new UX: https://github.com/moodle/moodle/commit/fcd4de86393e462b2d3691acd2451a3708b36fd6#diff-106eac644a0017c0b523c5aa6f4b66e68ff2267c0e301ccab84503cf548e5d6aR48.

scara commented 2 years ago

ab8de5b59741bea8a0eaadf3b5a06a9d20b6bd6c resolved.