Skip to content

Commit

Permalink
MDL-66431 core: Fix lti test for classic theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyatregubov committed May 2, 2021
1 parent bff4be6 commit 7d9fa77
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mod/lti/tests/behat/lti_activity_completion.feature
@@ -1,4 +1,4 @@
@mod @mod_lti @core_completion
@mod @mod_lti @core_completion @javascript
Feature: View activity completion information in the LTI activity
In order to have visibility of LTI completion requirements
As a student
Expand Down Expand Up @@ -28,8 +28,8 @@ Feature: View activity completion information in the LTI activity
| Show completion conditions | Yes |
And I press "Save and display"
And I turn editing mode on
And I follow "Music history"
And I navigate to "Edit settings" in current page administration
When I open "Music history" actions menu
And I click on "Edit settings" "link" in the "Music history" activity
And I set the following fields to these values:
| Completion tracking | Show activity as complete when conditions are met |
| Require view | 1 |
Expand Down Expand Up @@ -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"
And the "View" completion condition of "Music history" is displayed as "done"

@javascript
Scenario: Use manual completion
Given I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
Expand Down

0 comments on commit 7d9fa77

Please sign in to comment.