@@ -14,6 +14,7 @@ Feature: Configure placements for a tool
1414 And I expand the "Placements" autocomplete
1515 And I should see "Activity chooser" in the "Placements" "autocomplete"
1616 And the following fields in the "Placement: Activity chooser" "fieldset" match these values:
17+ | Default state | |
1718 | Deep Linking Request URL | |
1819 | Resource Linking Request URL | |
1920 | Icon URL | |
@@ -29,6 +30,7 @@ Feature: Configure placements for a tool
2930 And I click on "Edit" "link"
3031 When I set the field "Placements" in the "Placement" "fieldset" to "Activity chooser"
3132 And I set the following fields in the "Placement: Activity chooser" "fieldset" to these values:
33+ | Default state | 1 |
3234 | Deep Linking Request URL | http ://deep .link |
3335 | Resource Linking Request URL | http ://resource .link |
3436 | Icon URL | https ://icon |
@@ -37,6 +39,7 @@ Feature: Configure placements for a tool
3739 And I click on "Edit" "link"
3840 Then "Activity chooser" "autocomplete_selection" should exist in the "Placement" "fieldset"
3941 And the following fields in the "Placement: Activity chooser" "fieldset" match these values:
42+ | Default state | 1 |
4043 | Deep Linking Request URL | http ://deep .link |
4144 | Resource Linking Request URL | http ://resource .link |
4245 | Icon URL | https ://icon |
@@ -82,19 +85,21 @@ Feature: Configure placements for a tool
8285 | name | baseurl |
8386 | Site Tool 1 | /ltix /tests /fixtures /tool_provider .php |
8487 And the following "core_ltix > tool placements" exist:
85- | tool | placementtype | config_deep_linking_url | config_icon_url | config_text |
86- | Site Tool 1 | mod_lti :activityplacement | http ://deeplink | https ://icon | Some text for the tool |
88+ | tool | placementtype | config_default_usage | config_deep_linking_url | config_icon_url | config_text |
89+ | Site Tool 1 | mod_lti :activityplacement | 1 | http ://deeplink | https ://icon | Some text for the tool |
8790 And I log in as "admin"
8891 And I navigate to "LTI > Manage tools" in site administration
8992 And I click on "Edit" "link"
9093 # Edit several configuration options for the 'Activity chooser' placement and verify the changes are applied.
9194 When I set the following fields in the "Placement: Activity chooser" "fieldset" to these values:
95+ | Default state | |
9296 | Deep Linking Request URL | http ://deep .link .updated |
9397 | Text | Some text for the tool (edited ) |
9498 And I press "Save changes"
9599 And I click on "Edit" "link"
96100 Then "Activity chooser" "autocomplete_selection" should exist in the "Placement" "fieldset"
97101 And the following fields in the "Placement: Activity chooser" "fieldset" match these values:
102+ | Default state | |
98103 | Deep Linking Request URL | http ://deep .link .updated |
99104 | Resource Linking Request URL | |
100105 | Icon URL | https ://icon |
@@ -105,6 +110,7 @@ Feature: Configure placements for a tool
105110 And I click on "Edit" "link"
106111 And "Activity chooser" "autocomplete_selection" should not exist in the "Placement" "fieldset"
107112 And the following fields in the "Placement: Activity chooser" "fieldset" match these values:
113+ | Default state | |
108114 | Deep Linking Request URL | |
109115 | Resource Linking Request URL | |
110116 | Icon URL | |
0 commit comments