AutorÃa | Ultima modificación | Ver Log |
@mod @mod_ltiFeature: Content-Item supportIn order to easily add activities and content in a course from an external toolAs a teacherI need to utilise a tool that supports the Deep Linking (Content-Item Message) typeBackground: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 |And the following "mod_lti > tool types" exist:| name | description | baseurl | coursevisible | state | lti_contentitem || Teaching Tool 1 | Tool 1 description | /mod/lti/tests/fixtures/tool_provider.php | 2 | 1 | 1 |@javascriptScenario: Tool that supports Deep Linking should be able to configure a tool via the Select content buttonGiven I log in as "teacher1"And I am on "Course 1" course homepage with editing mode onWhen I add a "Teaching Tool 1" to section "1" using the activity chooserThen "Select content" "button" should be visibleAnd the "Select content" "button" should be enabledScenario: Editing the settings for an instance of a tool configured with Deep Linking supportGiven the following "mod_lti > tool instances" exist:| name | tool | course || Test tool activity 1 | Teaching Tool 1 | C1 |When I am on the "Test tool activity 1" "lti activity editing" page logged in as teacher1Then I should see "Select content"And the "Select content" "button" should be enabled