%PDF- %PDF-
Direktori : /home/vacivi36/ava/mod/lti/tests/behat/ |
Current File : /home/vacivi36/ava/mod/lti/tests/behat/renametool.feature |
@mod @mod_lti Feature: Rename external tools via inline editing In order to keep track of my activities As a teacher I need to be able to rename the LTI tool and have it's name change in the gradebook Background: Given the following "users" exist: | username | firstname | lastname | email | | teacher1 | Terry1 | Teacher1 | teacher1@example.com | And the following "courses" exist: | fullname | shortname | category | | Course 1 | C1 | 0 | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | @javascript Scenario: Add a tool and inline edit When I log in as "teacher1" And I am on "Course 1" course homepage with editing mode on And I add a "External tool" to section "1" and I fill the form with: | Activity name | Test tool activity 1 | And I set the field "Edit title" in the "li#section-1" "css_element" to "Test tool activity renamed" And I navigate to "Setup > Gradebook setup" in the course gradebook Then I should not see "Test tool activity 1" And I should see "Test tool activity renamed"