Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
8a066c83
Commit
8a066c83
authored
Aug 31, 2018
by
Robert Lyon
Committed by
Gerrit Code Review
Aug 31, 2018
Browse files
Merge "Bug 1789142 Hide the xmlrpc specific fields when not using them"
parents
6307cc7f
a85db528
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/behat/features/site_features/webservices_create_service_group.feature
View file @
8a066c83
...
...
@@ -39,12 +39,20 @@ Scenario: Turning master switch on
# Verify service group was made
And
I press
"Back"
And
I should see
"mahara_group_create_groups"
And
I collapse
"Manage service groups"
node
# Create a new token
And
I wait
"1"
seconds
And
I expand the section
"Manage service access tokens"
And
I fill in select2 input
"webservices_token_generate_userid"
with
"Service"
and select
"Service Admin (serviceadmin)"
And
I press
"Generate token"
And
I select
"Institution 1"
from
"Institution"
And
I select
"Test service"
from
"Service"
# Hide the xmlrpc specific fields when not using them In the add/edit webservice users/tokens screens
And
I should not see
"Public key expires"
# I should see the xmlrpc specific fields when Enable web services security (XML-RPC Only) is toggled to yes
When
I enable the switch
"Enable web services security (XML-RPC Only)"
Then
I should see
"Public key expires"
And
I disable the switch
"Enable web services security (XML-RPC Only)"
And
I press
"Save"
# Verify the token was made
And
I press
"Back"
...
...
@@ -59,6 +67,7 @@ Scenario: Turning master switch on
And
I fill in
"groupa"
for
"shortname"
And
I select
"Institution 1"
from
"Institution"
And
I fill in the wstoken for
"Test service"
owned by
"Service Admin"
# For some reason the submitting this form freezes behat
# And I press "Execute"
# Then I should see "editroles"
# For some reason the submitting this form freezes behat
# And I press "Execute"
# Then I should see "editroles"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment