From 72fb176ec999426048a7119862f4bf1ef8d2c34f Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 10 Mar 2021 18:55:01 +0100 Subject: [PATCH] Change label also in the acceptance tests Signed-off-by: Joas Schilling --- tests/acceptance/features/bootstrap/SettingsContext.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/acceptance/features/bootstrap/SettingsContext.php b/tests/acceptance/features/bootstrap/SettingsContext.php index 2a3aeff2f2..6b60b2c317 100644 --- a/tests/acceptance/features/bootstrap/SettingsContext.php +++ b/tests/acceptance/features/bootstrap/SettingsContext.php @@ -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"); } /**