Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-auth_ldap_syncplus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-auth_ldap_syncplus
Commits
e31bbc56
Commit
e31bbc56
authored
5 years ago
by
Kathrin Osswald
Browse files
Options
Downloads
Patches
Plain Diff
Added Behat tests.
parent
cecda58f
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES.md
+4
-0
4 additions, 0 deletions
CHANGES.md
tests/behat/auth_ldap_syncplus.feature
+15
-0
15 additions, 0 deletions
tests/behat/auth_ldap_syncplus.feature
with
19 additions
and
0 deletions
CHANGES.md
+
4
−
0
View file @
e31bbc56
...
...
@@ -4,6 +4,10 @@ moodle-auth_ldap_syncplus
Changes
-------
### Unreleased
*
2020-02-26 - Added Behat tests.
### v3.8-r1
*
2020-02-19 - Adopt code changes Moodle 3.8 core auth_ldap.
...
...
This diff is collapsed.
Click to expand it.
tests/behat/auth_ldap_syncplus.feature
0 → 100644
+
15
−
0
View file @
e31bbc56
@auth
@auth_ldap_syncplus
Feature
:
Checking that all settings are shown
In order to be able to configure the auth_ldap_syncplus plugin
As admin
I need to be able to see the equivalent settings
# This is the only check that is possible to do with Behat tests. The functionality behind cannot be tested with Behat tests.
Scenario
:
Check if all LDAP server (Sync Plus) settings are there
Given
I log in as
"admin"
And
I navigate to
"Plugins > Authentication > Manage authentication"
in site administration
And
I click on
"Settings"
"link"
in the
"LDAP server (Sync Plus)"
"table_row"
Then
I should see
"LDAP server (Sync Plus)"
in the
"#region-main .settingsform"
"css_element"
And
the
"Removed ext user"
select box should contain
"Suspend internal and fully delete internal after grace period"
And
I should see
"Fully deleting grace period"
in the
"#admin-removeuser_graceperiod"
"css_element"
And
I should see
"Add new users"
in the
"#admin-sync_script_createuser_enabled"
"css_element"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment