MDL-66431 core: Fix lti test for classic theme.

This commit is contained in:
Ilya Tregubov 2021-05-02 16:06:17 +02:00
parent be5eff78ab
commit 9d4f7eb9c6

View file

@ -1,4 +1,4 @@
@mod @mod_lti @core_completion @mod @mod_lti @core_completion @javascript
Feature: View activity completion information in the LTI activity Feature: View activity completion information in the LTI activity
In order to have visibility of LTI completion requirements In order to have visibility of LTI completion requirements
As a student As a student
@ -28,8 +28,8 @@ Feature: View activity completion information in the LTI activity
| Show completion conditions | Yes | | Show completion conditions | Yes |
And I press "Save and display" And I press "Save and display"
And I turn editing mode on And I turn editing mode on
And I follow "Music history" When I open "Music history" actions menu
And I navigate to "Edit settings" in current page administration And I click on "Edit settings" "link" in the "Music history" activity
And I set the following fields to these values: And I set the following fields to these values:
| Completion tracking | Show activity as complete when conditions are met | | Completion tracking | Show activity as complete when conditions are met |
| Require view | 1 | | Require view | 1 |
@ -64,7 +64,6 @@ Feature: View activity completion information in the LTI activity
Then the "Receive a grade" completion condition of "Music history" is displayed as "done" Then the "Receive a grade" completion condition of "Music history" is displayed as "done"
And the "View" completion condition of "Music history" is displayed as "done" And the "View" completion condition of "Music history" is displayed as "done"
@javascript
Scenario: Use manual completion Scenario: Use manual completion
Given I log in as "teacher1" Given I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on And I am on "Course 1" course homepage with editing mode on