aboutsummaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/bootstrap/FilesAppSharingContext.php
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2021-04-21 09:31:29 +0200
committerGitHub <noreply@github.com>2021-04-21 09:31:29 +0200
commit31d88209f77558546561886babe6b3f39cd6db5f (patch)
tree208db44648fa800f22403611d73b9300cb3d8586 /tests/acceptance/features/bootstrap/FilesAppSharingContext.php
parentdb2aea2f04854e06851e3a42387dad1d73488dc5 (diff)
parent4b376a107ba4f30ca5d5db559f09685378bb8730 (diff)
downloadnextcloud-server-31d88209f77558546561886babe6b3f39cd6db5f.tar.gz
nextcloud-server-31d88209f77558546561886babe6b3f39cd6db5f.zip
Merge pull request #25991 from nextcloud/update-acceptance-tests-to-selenium3
Diffstat (limited to 'tests/acceptance/features/bootstrap/FilesAppSharingContext.php')
-rw-r--r--tests/acceptance/features/bootstrap/FilesAppSharingContext.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/FilesAppSharingContext.php b/tests/acceptance/features/bootstrap/FilesAppSharingContext.php
index e8515fa1124..e3b63476fff 100644
--- a/tests/acceptance/features/bootstrap/FilesAppSharingContext.php
+++ b/tests/acceptance/features/bootstrap/FilesAppSharingContext.php
@@ -23,6 +23,7 @@
use Behat\Behat\Context\Context;
use PHPUnit\Framework\Assert;
+use WebDriver\Key;
class FilesAppSharingContext implements Context, ActorAwareInterface {
use ActorAware;
@@ -427,7 +428,7 @@ class FilesAppSharingContext implements Context, ActorAwareInterface {
$shareLinkMenuTriggerElement = $this->actor->find(self::shareLinkMenuTrigger(), 2);
$this->actor->find(self::passwordProtectCheckbox($shareLinkMenuTriggerElement), 2)->click();
- $this->actor->find(self::passwordProtectField($shareLinkMenuTriggerElement), 2)->setValue($password . "\r");
+ $this->actor->find(self::passwordProtectField($shareLinkMenuTriggerElement), 2)->setValue($password . Key::ENTER);
}
/**