mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-66378 behat: Fix use of before/after selectors
This commit is contained in:
parent
989f380089
commit
221bfed37b
3 changed files with 20 additions and 12 deletions
|
@ -80,8 +80,8 @@ Feature: Glossary entries can be organised in categories
|
|||
And I follow "Browse by category"
|
||||
And "//h3[contains(.,'CATEGORYAUTOLINKS')]" "xpath_element" should appear before "//h3[contains(.,'CATEGORYNOLINKS')]" "xpath_element"
|
||||
And "//h4[contains(.,'EntryCategoryAL')]" "xpath_element" should appear before "//h3[contains(.,'CATEGORYNOLINKS')]" "xpath_element"
|
||||
And "//h4[contains(.,'EntryCategoryBoth')]" "xpath_element" should appear before "//h3[contains(.,'CATEGORYNOLINKS')]" "xpath_element"
|
||||
And "//h3[contains(.,'CATEGORYNOLINKS')]" "xpath_element" should appear before "//h4[contains(.,'EntryCategoryBoth')]" "xpath_element"
|
||||
And "(//h4[contains(.,'EntryCategoryBoth')])[1]" "xpath_element" should appear before "//h3[contains(.,'CATEGORYNOLINKS')]" "xpath_element"
|
||||
And "//h3[contains(.,'CATEGORYNOLINKS')]" "xpath_element" should appear before "(//h4[contains(.,'EntryCategoryBoth')])[2]" "xpath_element"
|
||||
And "//h4[contains(.,'EntryCategoryNL')]" "xpath_element" should appear after "//h3[contains(.,'CATEGORYNOLINKS')]" "xpath_element"
|
||||
And I should not see "EntryNoCategory"
|
||||
And I set the field "hook" to "Not categorised"
|
||||
|
@ -116,4 +116,3 @@ Feature: Glossary entries can be organised in categories
|
|||
And I should see "EntryNoCategory"
|
||||
And I should see "EntryCategoryAL"
|
||||
And I should not see "EntryCategoryBoth"
|
||||
And I log out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue