X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/admin/tests/behat
home
/
cbholdings
/
pasukulu
/
admin
/
tests
/
behat
/
📁
..
📄
assign.feature
(4.09 KB)
📄
behat_admin.php
(5.15 KB)
📄
browse_users.feature
(3.05 KB)
📄
check.feature
(2.71 KB)
📄
display_short_names.feature
(858 B)
📄
enable_multiple_accounts_use_same_email.feature
(3.23 KB)
📄
filter_users.feature
(5.53 KB)
📄
filter_users_settings.feature
(9.77 KB)
📄
invalid_allcountrycodes.feature
(1.41 KB)
📄
language_settings.feature
(1.35 KB)
📄
manage_blocks.feature
(3.11 KB)
📄
manage_media.feature
(1.31 KB)
📄
manage_tokens.feature
(3.8 KB)
📄
moodlenet_outbound.feature
(2.5 KB)
📄
outgoing_mail.feature
(1.29 KB)
📄
purge_caches.feature
(1.4 KB)
📄
resetindentation.feature
(6.44 KB)
📄
search_areas.feature
(1.02 KB)
📄
set_admin_settings_value.feature
(895 B)
📄
site_administration.feature
(1.01 KB)
📄
siteadmin_webservice_breadcrumbs.feature
(1.74 KB)
📄
siteadmin_webservice_token_breadcrumbs.feature
(1.21 KB)
📄
task_logs.feature
(3.51 KB)
📄
webservice_users.feature
(1.97 KB)
Editing: moodlenet_outbound.feature
@core @core_admin Feature: MoodleNet outbound configuration In order to send activity/resource to MoodleNet As a Moodle administrator I need to set outbound configuration Background: Given I log in as "admin" Scenario: Share to MoodleNet experimental flag Given I navigate to "Development > Experimental" in site administration Then "Enable sharing to MoodleNet" "field" should exist And the field "Enable sharing to MoodleNet" matches value "0" Scenario: Outbound configuration without experimental flag enable yet Given I navigate to "MoodleNet" in site administration Then I should not see "MoodleNet outbound settings" Scenario: Outbound configuration without OAuth 2 service setup yet Given the following config values are set as admin: | enablesharingtomoodlenet | 1 | When I navigate to "MoodleNet" in site administration Then I should see "MoodleNet outbound settings" And I click on "MoodleNet outbound settings" "link" And the field "OAuth 2 service" matches value "None" And I should see "Select a MoodleNet OAuth 2 service to enable sharing to that MoodleNet site. If the service doesn't exist yet, you will need to create it." And I click on "create" "link" And I should see "OAuth 2 services" Scenario: Outbound configuration with OAuth 2 service setup Given a MoodleNet mock server is configured And the following config values are set as admin: | enablesharingtomoodlenet | 1 | And I navigate to "Server > OAuth 2 services" in site administration And I press "Custom" And I should see "Create new service: Custom" And I set the following fields to these values: | Name | Testing custom service | | Client ID | thisistheclientid | | Client secret | supersecret | And I press "Save changes" When I navigate to "MoodleNet > MoodleNet outbound settings" in site administration Then the field "OAuth 2 service" matches value "None" And I navigate to "Server > OAuth 2 services" in site administration And I press "MoodleNet" And I should see "Create new service: MoodleNet" And I change the MoodleNet field "Service base URL" to mock server And I press "Save changes" And I navigate to "MoodleNet > MoodleNet outbound settings" in site administration And the "OAuth 2 service" "field" should be enabled And I should see "MoodleNet" in the "OAuth 2 service" "select" And I should not see "Testing custom service" in the "OAuth 2 service" "select"
Upload File
Create Folder