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

Create partial named selector for myoverview behat tests.

XMLWordPrintable

      At the moment we have steps such as:

      And I click on ".coursemenubtn" "css_element" in the "//div[@class='card dashboard-card' and contains(.,'Course 2')]" "xpath_element"
          And I click on "Hide from view" "link" in the "//div[@class='card dashboard-card' and contains(.,'Course 2')]" "xpath_element"
      

      Which are very cryptic and we should simplify this with a partial named selector (in lib/behat/classes/partial_named_selector.php).

            Unassigned Unassigned
            abgreeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m

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