1 |
efrain |
1 |
@mod @mod_lti
|
|
|
2 |
Feature: Rename external tools via inline editing
|
|
|
3 |
In order to keep track of my activities
|
|
|
4 |
As a teacher
|
|
|
5 |
I need to be able to rename the LTI tool and have it's name change in the gradebook
|
|
|
6 |
|
|
|
7 |
Background:
|
|
|
8 |
Given the following "courses" exist:
|
|
|
9 |
| fullname | shortname | category |
|
|
|
10 |
| Course 1 | C1 | 0 |
|
|
|
11 |
And the following "activities" exist:
|
|
|
12 |
| activity | course | name |
|
|
|
13 |
| lti | C1 | Test tool activity 1 |
|
|
|
14 |
|
|
|
15 |
@javascript
|
|
|
16 |
Scenario: Add a tool and inline edit
|
|
|
17 |
When I log in as "admin"
|
|
|
18 |
And I am on "Course 1" course homepage with editing mode on
|
|
|
19 |
And I set the field "Edit title" in the "Test tool activity 1" "activity" to "Test tool activity renamed"
|
|
|
20 |
And I navigate to "Setup > Gradebook setup" in the course gradebook
|
|
|
21 |
Then I should not see "Test tool activity 1"
|
|
|
22 |
And I should see "Test tool activity renamed"
|