diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2021-03-06 14:45:25 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2021-04-16 20:00:15 +0200 |
commit | 38b88422a807c9ef0b57879aa189e3329c1258d6 (patch) | |
tree | d7a3d63278bef271652b30e344c83c8e07b67608 /tests/acceptance/features/bootstrap/ThemingAppContext.php | |
parent | d311e08f9783dffd04289301b5770661d77eebfe (diff) | |
download | nextcloud-server-38b88422a807c9ef0b57879aa189e3329c1258d6.tar.gz nextcloud-server-38b88422a807c9ef0b57879aa189e3329c1258d6.zip |
Do not send "enter" key when not needed
Sending the "enter" key is not needed in those input fields that auto
save while the user is typing or when the focus is lost (which since
version 1.4.0 the Selenium driver for Mink is automatically done after
setting the value).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'tests/acceptance/features/bootstrap/ThemingAppContext.php')
-rw-r--r-- | tests/acceptance/features/bootstrap/ThemingAppContext.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/acceptance/features/bootstrap/ThemingAppContext.php b/tests/acceptance/features/bootstrap/ThemingAppContext.php index 70fb2b01e16..d17d9c18109 100644 --- a/tests/acceptance/features/bootstrap/ThemingAppContext.php +++ b/tests/acceptance/features/bootstrap/ThemingAppContext.php @@ -65,7 +65,7 @@ class ThemingAppContext implements Context, ActorAwareInterface { * @When I set the :parameterName parameter in the Theming app to :parameterValue */ public function iSetTheParameterInTheThemingAppTo($parameterName, $parameterValue) { - $this->actor->find(self::inputFieldFor($parameterName), 10)->setValue($parameterValue . "\r"); + $this->actor->find(self::inputFieldFor($parameterName), 10)->setValue($parameterValue); } /** |