Use correct link to show all sessions in behat test.
authorDan Marsden <dan@danmarsden.com>
Tue, 13 Jun 2017 23:59:51 +0000 (11:59 +1200)
committerDan Marsden <dan@danmarsden.com>
Wed, 14 Jun 2017 01:04:56 +0000 (13:04 +1200)
tests/behat/report.feature

index 0163282..6024b55 100644 (file)
@@ -225,7 +225,7 @@ Feature: Visiting reports
     When I log in as "student1"
     And I am on "Course 1" course homepage
     And I follow "Attendance"
-    And I follow "All"
+    And I click on "All" "link" in the ".attfiltercontrols" "css_element"
 
     Then "2" "text" should exist in the "Taken sessions" "table_row"
     And "3 / 4" "text" should exist in the "Points over taken sessions:" "table_row"