Keeps compatibility with standard theme.
When I follow "Overview"
And I wait until the page is ready
And I wait "2" seconds
- And I hover ".region-content .generaltable td span" "css_element"
+ And I hover "#region-main .generaltable td span" "css_element"
Then I should see "I'm the description"
And "Grouping" "select" in the "region-main" "region" should be visible
And "Group" "select" should be visible
And "Change password" "link" should not be visible
And I should see "Filter groups by"
And I should not see "Filter groupssss by"
- And I should see "Group members" in the ".region-content table th.c1" "css_element"
- And I should not see "Group membersssss" in the ".region-content table th.c1" "css_element"
+ And I should see "Group members" in the "#region-main table th.c1" "css_element"
+ And I should not see "Group membersssss" in the "#region-main table th.c1" "css_element"
And I follow "Groups"
And the "#groupeditform #showcreateorphangroupform" "css_element" should be enabled
And the "#groupeditform #showeditgroupsettingsform" "css_element" should be disabled
Then I should see "Close the quiz"
And I should see "Group mode"
And I should see "Grouping"
- And I should not see "Show more..." in the "region-main-box" "region"
+ And I should not see "Show more..." in the "region-main" "region"
And I should see "Show less..."
And I press "Save changes"
And I follow "Course 1"
# The first block matching the pattern should be top-left block
- And I should see "Comments" in the "//*[@id='region-pre']/descendant::div[contains(concat(' ', normalize-space(@class), ' '), ' block ')]" "xpath_element"
+ And I should see "Comments" in the "//*[@id='region-pre' or @id='block-region-side-pre']/descendant::div[contains(concat(' ', normalize-space(@class), ' '), ' block ')]" "xpath_element"
| Visible | Yes |
| Region | Right |
And I press "Save changes"
- And I should see "Comments" in the "#region-post" "css_element"
+ And I should see "Comments" in the "//*[@id='region-post' or @id='block-region-side-post']" "xpath_element"
And "#section-2" "css_element" <should_see_other_sections> exists
And I delete "Test forum name 1" activity
And "#section-2" "css_element" <should_see_other_sections> exists
- And I should not see "Test forum name 1" in the ".region-content" "css_element"
+ And I should not see "Test forum name 1" in the "#region-main" "css_element"
And I duplicate "Test forum name 2" activity editing the new copy with:
| Forum name | Edited test forum name 2 |
And "#section-2" "css_element" <should_see_other_sections> exists
.//div[contains(concat(' ', normalize-space(@class), ' '), concat(' ', %locator%, ' '))] | .//div[contains(concat(' ', normalize-space(@class), ' '), ' block ')]/descendant::h2[normalize-space(.) = %locator%]/ancestor::div[contains(concat(' ', normalize-space(@class), ' '), ' block ')]
XPATH
, 'region' => <<<XPATH
-.//div[./@id = %locator%]
+.//*[self::div | self::section | self::aside][./@id = %locator%]
XPATH
, 'table_row' => <<<XPATH
.//tr[contains(normalize-space(.), %locator%)]
And I press "Save"
And I follow "History"
# Checking that there are 3 history items (the first one is are th)
- And "//div[@class='region-content']/descendant::table/descendant::tr[4]" "xpath_element" should exists
+ And "//*[@id='region-main']/descendant::table/descendant::tr[4]" "xpath_element" should exists
And I click on "1" "link" in the "Teacher 1" table row
And I should see "First edition"
And I should see "Teacher 1"
And I follow "History"
And I click on "3" "link" in the "Student 2" table row
And I should see "Third edition"
- And I should see "Student 2" in the ".region-content" "css_element"
+ And I should see "Student 2" in the "#region-main" "css_element"
And I follow "History"
And I click on "comparewith" "radio" in the "Student 1" table row
And I click on "compare" "radio" in the "Teacher 1" table row