MOBILE-3833 behat: Fix UI changes in LMS
parent
a51cf30b2f
commit
423281a960
|
@ -174,6 +174,7 @@ Feature: Test basic usage of choice activity in app
|
||||||
And I should find "Option 3: 0" in the app
|
And I should find "Option 3: 0" in the app
|
||||||
But I should not find "This Choice has offline data to be synchronised." in the app
|
But I should not find "This Choice has offline data to be synchronised." in the app
|
||||||
|
|
||||||
|
# TODO remove LMS UI steps in app tests
|
||||||
Scenario: Download students choice in text format
|
Scenario: Download students choice in text format
|
||||||
# Submit answer as student
|
# Submit answer as student
|
||||||
Given the following "activities" exist:
|
Given the following "activities" exist:
|
||||||
|
@ -199,6 +200,6 @@ Feature: Test basic usage of choice activity in app
|
||||||
And I switch to the browser tab opened by the app
|
And I switch to the browser tab opened by the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Actions menu"
|
And I press "Actions menu"
|
||||||
And I follow "View 1 responses"
|
And I follow "Responses"
|
||||||
And I press "Download in text format"
|
And I press "Download in text format"
|
||||||
# TODO Then I should find "..." in the downloads folder
|
# TODO Then I should find "..." in the downloads folder
|
||||||
|
|
|
@ -485,6 +485,7 @@ Feature: Test basic usage of one course in app
|
||||||
And I should find "Test scorm name" in the app
|
And I should find "Test scorm name" in the app
|
||||||
And I should find "Test workshop name" in the app
|
And I should find "Test workshop name" in the app
|
||||||
|
|
||||||
|
# TODO remove LMS UI steps in app tests
|
||||||
Scenario: View blocks below/beside contents also when All sections selected
|
Scenario: View blocks below/beside contents also when All sections selected
|
||||||
Given I enter the app
|
Given I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
|
@ -497,14 +498,14 @@ Feature: Test basic usage of one course in app
|
||||||
And I press "Turn editing on"
|
And I press "Turn editing on"
|
||||||
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 "HTML"
|
And I follow "Text"
|
||||||
And I click on "#theme_boost-drawers-blocks [aria-label=\"Close drawer\"]" "css_element"
|
And I click on "#theme_boost-drawers-blocks [aria-label=\"Close drawer\"]" "css_element"
|
||||||
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 "#action-menu-toggle-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 text block) block"
|
||||||
And I set the field "HTML block title" to "HTML title test"
|
And I set the field "Text block title" to "HTML title test"
|
||||||
And I set the field "Content" to "body test"
|
And I set the field "Content" to "body test"
|
||||||
And I press "Save changes"
|
And I press "Save changes"
|
||||||
And I close the browser tab opened by the app
|
And I close the browser tab opened by the app
|
||||||
|
|
|
@ -100,6 +100,7 @@ Feature: Test basic usage of courses in app
|
||||||
And I should find "Course 3" in the app
|
And I should find "Course 3" in the app
|
||||||
And I should find "Course 4" in the app
|
And I should find "Course 4" in the app
|
||||||
|
|
||||||
|
# TODO remove LMS UI steps in app tests
|
||||||
Scenario: Links to actions in Timeline work for teachers/students
|
Scenario: Links to actions in Timeline work for teachers/students
|
||||||
# Configure assignment as teacher
|
# Configure assignment as teacher
|
||||||
When I enter the app
|
When I enter the app
|
||||||
|
@ -113,7 +114,7 @@ Feature: Test basic usage of courses in app
|
||||||
And I switch to the browser tab opened by the app
|
And I switch to the browser tab opened by the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Actions menu"
|
And I press "Actions menu"
|
||||||
And I follow "Edit settings"
|
And I follow "Settings"
|
||||||
And I press "Expand all"
|
And I press "Expand all"
|
||||||
And I click on "duedate[enabled]" "checkbox"
|
And I click on "duedate[enabled]" "checkbox"
|
||||||
And I click on "gradingduedate[enabled]" "checkbox"
|
And I click on "gradingduedate[enabled]" "checkbox"
|
||||||
|
|
Loading…
Reference in New Issue