Fix on course and glossary behats
parent
7325109de6
commit
c0506d6ff0
|
@ -495,7 +495,7 @@ Feature: Test basic usage of one course in app
|
||||||
And I click on "Side panel" "button"
|
And I click on "Side panel" "button"
|
||||||
And I follow "Add a block"
|
And I follow "Add a block"
|
||||||
And I follow "Activities"
|
And I follow "Activities"
|
||||||
And I click on "Actions menu" "icon" in the "#dropdown-0" "css_element"
|
And I click on "Actions menu" "icon" in the "#action-menu-toggle-0" "css_element"
|
||||||
And I follow "Configure (new HTML block) block"
|
And I follow "Configure (new HTML block) block"
|
||||||
And I set the field "HTML block title" to "HTML title test"
|
And I set the field "HTML block title" to "HTML title test"
|
||||||
And I set the field "Content" to "body test"
|
And I set the field "Content" to "body test"
|
||||||
|
@ -544,7 +544,7 @@ Feature: Test basic usage of one course in app
|
||||||
And I follow "HTML"
|
And I follow "HTML"
|
||||||
And I follow "Add a block"
|
And I follow "Add a block"
|
||||||
And I follow "Activities"
|
And I follow "Activities"
|
||||||
And I click on "Actions menu" "icon" in the "#dropdown-0" "css_element"
|
And I click on "Actions menu" "icon" in the "#action-menu-toggle-0" "css_element"
|
||||||
And I follow "Configure (new HTML block) block"
|
And I follow "Configure (new HTML block) block"
|
||||||
And I set the field "HTML block title" to "HTML title test"
|
And I set the field "HTML block title" to "HTML title test"
|
||||||
And I set the field "Content" to "body test"
|
And I set the field "Content" to "body test"
|
||||||
|
|
|
@ -83,15 +83,14 @@ Feature: Test basic usage of glossary in app
|
||||||
And I should see "car"
|
And I should see "car"
|
||||||
And I should see "mountain"
|
And I should see "mountain"
|
||||||
And I should see "potato"
|
And I should see "potato"
|
||||||
And I press "Browse entries" in the app
|
|
||||||
And I press "Search" in the app
|
And I press "Search" in the app
|
||||||
And I set the field "Search query" to "something" in the app
|
And I set the field "Search query" to "something" in the app
|
||||||
And I press "search" in the app
|
And I press "search" near "No entries were found." in the app
|
||||||
Then I should see "No entries were found."
|
Then I should see "No entries were found."
|
||||||
And I set the field "Search query" to "potato" in the app
|
And I set the field "Search query" to "potato" in the app
|
||||||
And I press "search" in the app
|
And I press "search" near "No entries were found." in the app
|
||||||
And I set the field "Search query" to " " in the app
|
And I set the field "Search query" to " " in the app
|
||||||
And I press "potato" in the app
|
And I press "potato" near "glossary description" in the app
|
||||||
Then I should see "potato"
|
Then I should see "potato"
|
||||||
And I should see "The potato is a root vegetable native to the Americas, a starchy tuber of the plant Solanum tuberosum, and the plant itself, a perennial in the family Solanaceae."
|
And I should see "The potato is a root vegetable native to the Americas, a starchy tuber of the plant Solanum tuberosum, and the plant itself, a perennial in the family Solanaceae."
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue