MDL-64901 block_myoverview: Correct CSS selector in behat
authorAndrew Nicols <andrew@nicols.co.uk>
Tue, 25 Jun 2019 01:16:58 +0000 (09:16 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Tue, 25 Jun 2019 01:17:22 +0000 (09:17 +0800)
blocks/myoverview/tests/behat/block_myoverview_dashboard.feature

index 98ac925..b63804b 100644 (file)
@@ -136,7 +136,7 @@ Feature: The my overview block allows users to easily access their courses
     And I click on "Card" "link" in the "Course overview" "block"
     And I reload the page
     Then I should see "Card" in the "Course overview" "block"
-    And "[data-display='cards']" "css_element" in the "Course overview" "block" should be visible
+    And "[data-display='card']" "css_element" in the "Course overview" "block" should be visible
 
   Scenario: Summary display  persistence
     Given I log in as "student1"