This commit is contained in:
Jun Pataleta 2024-01-23 09:26:30 +08:00
commit 10744550e6
No known key found for this signature in database
GPG key ID: F83510526D99E2C7
38 changed files with 224 additions and 172 deletions

View file

@ -27,7 +27,7 @@ Feature: Add tools
Scenario: Add a site tool via the activity picker
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"
When I add a "Teaching Tool 1" to section "1" using the activity chooser
And I set the field "Activity name" to "Test tool activity 1"
And "Launch container" "field" should not be visible
# For tool that does not support Content-Item message type, the Select content button must be disabled.
@ -44,7 +44,7 @@ Feature: Add tools
Scenario: Add a course tool via the activity picker
Given I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
When I add a "Course tool 1" to section "1"
When I add a "Course tool 1" to section "1" using the activity chooser
And I set the field "Activity name" to "Test tool activity 2"
And "Launch container" "field" should not be visible
# For tool that does not support Content-Item message type, the Select content button must be disabled.

View file

@ -22,7 +22,7 @@ Feature: Content-Item support
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"
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

View file

@ -255,10 +255,10 @@ Feature: Manage course tools
| Course Tool 1 | Example description | https://example.com/tool | C1 |
And I log in as "admin"
And I am on "Course 1" course homepage with editing mode on
And I add a "Teaching Tool 1" to section "1"
And I add a "Teaching Tool 1" to section "1" using the activity chooser
And I set the field "Activity name" to "Test tool activity 1"
And I press "Save and return to course"
And I add a "Course Tool 1" to section "1"
And I add a "Course Tool 1" to section "1" using the activity chooser
And I set the field "Activity name" to "Course tool activity 1"
And I press "Save and return to course"
And I navigate to "LTI External tools" in current page administration
@ -266,7 +266,7 @@ Feature: Manage course tools
And I click on "Show in activity chooser" "field" in the "Teaching Tool 2" "table_row"
And I click on "Don't show in activity chooser" "field" in the "Course Tool 1" "table_row"
And I am on "Course 1" course homepage
And I add a "Teaching Tool 2" to section "1"
And I add a "Teaching Tool 2" to section "1" using the activity chooser
And I set the field "Activity name" to "Test tool activity 2"
And I press "Save and return to course"
When I backup "Course 1" course using this options: