MOBILE-3914 blocks: Adapt tests to new block drawer
parent
22a589ec9d
commit
0b774fc53c
|
@ -486,7 +486,7 @@ Feature: Test basic usage of one course in 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
|
# TODO remove LMS UI steps in app tests
|
||||||
Scenario: View blocks below/beside contents also when All sections selected
|
Scenario: View blocks on drawer
|
||||||
Given I enter the app
|
Given I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
And I press "Course 1" near "Course overview" in the app
|
And I press "Course 1" near "Course overview" in the app
|
||||||
|
@ -527,6 +527,7 @@ Feature: Test basic usage of one course in app
|
||||||
And I should find "Test lesson name" in the app
|
And I should find "Test lesson name" in the 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
|
||||||
|
Then I press "Open block drawer" in the app
|
||||||
And I should find "HTML title test" in the app
|
And I should find "HTML title test" in the app
|
||||||
And I should find "body test" in the app
|
And I should find "body test" in the app
|
||||||
And I should find "Activities" in the app
|
And I should find "Activities" in the app
|
||||||
|
|
|
@ -105,6 +105,7 @@ Feature: Test basic usage of courses in app
|
||||||
# Configure assignment as teacher
|
# Configure assignment as teacher
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
|
Then I press "Open block drawer" in the app
|
||||||
Then I should find "Timeline" in the app
|
Then I should find "Timeline" in the app
|
||||||
|
|
||||||
Given I press "Course 1" near "Course overview" in the app
|
Given I press "Course 1" near "Course overview" in the app
|
||||||
|
@ -124,6 +125,7 @@ Feature: Test basic usage of courses in app
|
||||||
# Submit assignment as student
|
# Submit assignment as student
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
|
Then I press "Open block drawer" in the app
|
||||||
And I press "Add submission" in the app
|
And I press "Add submission" in the app
|
||||||
Then the header should be "assignment" in the app
|
Then the header should be "assignment" in the app
|
||||||
And I should find "Test assignment description" in the app
|
And I should find "Test assignment description" in the app
|
||||||
|
@ -143,6 +145,7 @@ Feature: Test basic usage of courses in app
|
||||||
# Grade assignment as teacher
|
# Grade assignment as teacher
|
||||||
When I enter the app
|
When I enter the app
|
||||||
And I log in as "teacher1"
|
And I log in as "teacher1"
|
||||||
|
Then I press "Open block drawer" in the app
|
||||||
And I press "Grade" in the app
|
And I press "Grade" in the app
|
||||||
Then the header should be "assignment" in the app
|
Then the header should be "assignment" in the app
|
||||||
And I should find "Test assignment description" in the app
|
And I should find "Test assignment description" in the app
|
||||||
|
|
Loading…
Reference in New Issue