Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
72fb176e
Unverified
Commit
72fb176e
authored
4 years ago
by
Joas Schilling
Browse files
Options
Downloads
Patches
Plain Diff
Change label also in the acceptance tests
Signed-off-by:
Joas Schilling
<
coding@schilljs.com
>
parent
5afaf3d0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/acceptance/features/bootstrap/SettingsContext.php
+4
-4
4 additions, 4 deletions
tests/acceptance/features/bootstrap/SettingsContext.php
with
4 additions
and
4 deletions
tests/acceptance/features/bootstrap/SettingsContext.php
+
4
−
4
View file @
72fb176e
...
...
@@ -71,16 +71,16 @@ class SettingsContext implements Context, ActorAwareInterface {
// forThe()->checkbox("Restrict username...") can not be used here; that
// would return the checkbox itself, but the element that the user
// interacts with is the label.
return
Locator
::
forThe
()
->
xpath
(
"//label[normalize-space() = '
Restrict
username autocompletion to users within the same groups']"
)
->
describedAs
(
"
Restrict
username autocompletion to groups checkbox in Sharing section in Administration Sharing Settings"
);
return
Locator
::
forThe
()
->
xpath
(
"//label[normalize-space() = '
Allow
username autocompletion to users within the same groups']"
)
->
describedAs
(
"
Allow
username autocompletion to
users within the same
groups checkbox in Sharing section in Administration Sharing Settings"
);
}
/**
* @return Locator
*/
public
static
function
restrictUsernameAutocompletionToGroupsCheckboxInput
()
{
return
Locator
::
forThe
()
->
checkbox
(
"
Restrict
username autocompletion to users within the same groups"
)
->
describedAs
(
"
Restrict
username autocompletion to groups checkbox input in Sharing section in Administration Sharing Settings"
);
return
Locator
::
forThe
()
->
checkbox
(
"
Allow
username autocompletion to users within the same groups"
)
->
describedAs
(
"
Allow
username autocompletion to
users within the same
groups checkbox input in Sharing section in Administration Sharing Settings"
);
}
/**
...
...
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