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

Create a behat step to go to a section

XMLWordPrintable

    • MOODLE_404_STABLE
    • MOODLE_404_STABLE
    • MDL-80251-main
    • Hide

      Testing using behat.

      The new step is the following:

      When I am on the "Course 1 > Topic 1" "course > section" page

       

      If you need to check manually:

      • mdk behat -r -n "Collapsed sections are always expanded in the single section page"
      • php admin/tool/behat/cli/init.php --add-core-features-to-theme
      • vendor/bin/behat --config <yourbehatfilepath>/behat.yml --suite="classic" course/tests/behat/paged_course_navigation.feature
      Show
      Testing using behat. The new step is the following: When I am on the "Course 1 > Topic 1" "course > section" page   If you need to check manually: mdk behat -r -n "Collapsed sections are always expanded in the single section page" php admin/tool/behat/cli/init.php --add-core-features-to-theme vendor/bin/behat --config <yourbehatfilepath>/behat.yml --suite="classic" course/tests/behat/paged_course_navigation.feature
    • HQ 2023 Sprint I4.3 Moppies

      In MDL-79986, a new page has been added, course/section.php, to display the content of a single section.

      Currently, there are a couple of ways to go to a section page:

      • When editing mode is off:

      I click on "Topic 1" "link" in the "region-main" "region"

      • When editing mode is on and @javascript: 

        I open section "1" edit menu
        I click on "View" "link" in the "Topic 1" "section"

        However, it would be good to add a step to access a section, similar to what we have for courses and activities:

        I am on the "Coursename > Topic 1" "section" page logged in as "admin"

            laurent.david@moodle.com Laurent David
            sarjona Sara Arjona (@sarjona)
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ferran Recio Ferran Recio
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 4 hours, 38 minutes
                1d 4h 38m

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