MOBILE-3914 blocks: Adapt tests to new block drawer

main
Pau Ferrer Ocaña 2021-11-17 10:47:55 +01:00
parent 22a589ec9d
commit 0b774fc53c
2 changed files with 5 additions and 1 deletions

View File

@ -486,7 +486,7 @@ Feature: Test basic usage of one course in 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 on drawer
Given I enter the app
And I log in as "teacher1"
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 scorm 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 "body test" in the app
And I should find "Activities" in the app

View File

@ -105,6 +105,7 @@ Feature: Test basic usage of courses in app
# Configure assignment as teacher
When I enter the app
And I log in as "teacher1"
Then I press "Open block drawer" in the app
Then I should find "Timeline" 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
When I enter the app
And I log in as "student1"
Then I press "Open block drawer" in the app
And I press "Add submission" in the app
Then the header should be "assignment" 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
When I enter the app
And I log in as "teacher1"
Then I press "Open block drawer" in the app
And I press "Grade" in the app
Then the header should be "assignment" in the app
And I should find "Test assignment description" in the app