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

Small fix for classic behat runs in core_ltix

XMLWordPrintable

    • MDL-82507-main
    • Hide

      1. Init behat for both boost and classic suites:

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

      2. Run behat for boost (using --suite=default) with:

      • --tags=@core_ltix
      • --tags=@mod_lti

      3. Run behat for classic (using --suite=classic) with tags:

      • --tags=@core_ltix
      • --tags=@mod_lti

      4. Verify all tests pass without error.

      Show
      1. Init behat for both boost and classic suites: php admin/tool/behat/cli/init.php -a 2. Run behat for boost (using --suite=default) with: --tags=@core_ltix --tags=@mod_lti 3. Run behat for classic (using --suite=classic) with tags: --tags=@core_ltix --tags=@mod_lti 4. Verify all tests pass without error.
    • 1

      Any feature that uses the step:

          And I navigate to "General > LTI > Manage tools" in site administration
      

      should be replaced with:

          And I navigate to "LTI > Manage tools" in site administration
      
      

      because 'General' is only on Boost and it's not needed anyway. LTI > Manage tools works fine on Boost and, importantly, resolves classic failures.

      Example of a failure (run with --suite=classic):

      ltix/tests/behat/viewtools.feature
      

            jaked Jake Dallimore
            jaked Jake Dallimore
            Dan Marsden Dan Marsden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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