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: webservice_users.feature
@core @core_admin @core_webservice Feature: Web service user settings In order to configure authorised users for a web service As an admin I need to use the page that lets you do that Background: # Include a custom profile field so we can check it gets displayed Given the following "custom profile fields" exist: | datatype | shortname | name | param2 | | text | frog | Favourite frog | 100 | And the following config values are set as admin: | showuseridentity | email,profile_field_frog | And the following "users" exist: | username | firstname | lastname | email | profile_field_frog | | user1 | User | One | 1@example.org | Kermit | And the following "core_webservice > Service" exists: | name | Silly service | | shortname | silly | | restrictedusers | 1 | | enabled | 1 | Scenario: Add a user to a web service When I log in as "admin" And I navigate to "Server > Web services > External services" in site administration And I click on "Authorised users" "link" in the "Silly service" "table_row" And I set the field "Not authorised users" to "User One" And I press "Add" Then I should see "User One" in the ".alloweduserlist" "css_element" And I should see "1@example.org" in the ".alloweduserlist" "css_element" And I should see "Kermit" in the ".alloweduserlist" "css_element" @javascript Scenario: Add a function to a web service When I log in as "admin" And I navigate to "Server > Web services > External services" in site administration And I click on "Functions" "link" in the "Silly service" "table_row" And I follow "Add functions" And I set the field "Name" to "core_blog_get_entries" And I click on "Add functions" "button" in the "#fgroup_id_buttonar" "css_element" Then I should see "core_blog_get_entries" in the "generaltable" "table"
Upload File
Create Folder