X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/mod/lti/tests/behat
home
/
cbholdings
/
pasukulu
/
mod
/
lti
/
tests
/
behat
/
📁
..
📄
addtool.feature
(1.91 KB)
📄
addtype.feature
(2.78 KB)
📄
backup_restore.feature
(4.28 KB)
📄
contentitem.feature
(4.97 KB)
📄
contentitemregistration.feature
(1.61 KB)
📄
lti_activity_completion.feature
(2.94 KB)
📄
lti_completion_pass_grade.feature
(3.73 KB)
📄
renametool.feature
(905 B)
📄
siteadmin_managetool_breadcrumbs.feature
(2.58 KB)
📄
toolconfigure.feature
(1.28 KB)
📄
viewtools.feature
(1.08 KB)
Editing: toolconfigure.feature
@mod @mod_lti Feature: Configure tool types In order to allow teachers to add external LTI tools As an admin I need to be able to add, remove and configure tool types Background: Given I log in as "admin" And I navigate to "Plugins > Activity modules > External tool > Manage tools" in site administration @javascript Scenario: Add a tool type from a cartridge URL When I set the field "url" to local url "/mod/lti/tests/fixtures/ims_cartridge_basic_lti_link.xml" And I press "Add Legacy LTI" Then I should see "Enter your consumer key and shared secret" And I press "Save changes" And I should see "Example tool" @javascript Scenario: Try to add a non-existant cartridge When I set the field "url" to local url "/mod/lti/tests/fixtures/nonexistant.xml" And I press "Add Legacy LTI" Then I should see "Enter your consumer key and shared secret" And I press "Save changes" And I should see "Failed to create new tool. Please check the URL and try again." @javascript Scenario: Attempt to add a tool type from a configuration URL, then cancel When I set the field "url" to local url "/mod/lti/tests/fixtures/tool_provider.php" And I press "Add Legacy LTI" Then I should see "Cancel" And I press "cancel-external-registration"
Upload File
Create Folder