Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@mod @mod_lti
2
Feature: Create/edit tool configuration that has Deep Linking support
3
  In order to provide external tools that support Deep Linking for teachers and learners
4
  As an admin
5
  I need to be able to configure external tool registrations that support Deep Linking.
6
 
7
  Background:
8
    Given I log in as "admin"
9
    And I navigate to "Plugins > Activity modules > External tool > Manage tools" in site administration
10
 
11
  Scenario: Verifying ContentItemSelectionRequest selection support in external tool registration
12
    When I follow "Manage external tool registrations"
13
    And I follow "Configure a new external tool registration"
14
    Then I should see "ContentItemSelectionRequest" in the "Capabilities" "select"
15
 
16
  @javascript
17
  Scenario: Creating and editing tool configuration that has Content-Item support
18
    When I follow "configure a tool manually"
19
    And I set the field "Tool name" to "Test tool"
20
    And I set the field "Tool URL" to local url "/mod/lti/tests/fixtures/tool_provider.php"
21
    And I set the field "Tool configuration usage" to "Show in activity chooser and as a preconfigured tool"
22
    And I expand all fieldsets
23
    And I set the field "Supports Deep Linking (Content-Item Message)" to "1"
24
    And I press "Save changes"
25
    And I follow "Edit"
26
    And I expand all fieldsets
27
    Then the field "Supports Deep Linking (Content-Item Message)" matches value "1"
28
    And I set the field "Supports Deep Linking (Content-Item Message)" to "0"
29
    And I press "Save changes"
30
    And I follow "Edit"
31
    And I expand all fieldsets
32
    And the field "Supports Deep Linking (Content-Item Message)" matches value "0"