Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/twofactor_totp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Acceptance/TOTPAcceptanceTest.php')
-rw-r--r--tests/Acceptance/TOTPAcceptanceTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Acceptance/TOTPAcceptanceTest.php b/tests/Acceptance/TOTPAcceptanceTest.php
index 4e01765..0029f14 100644
--- a/tests/Acceptance/TOTPAcceptanceTest.php
+++ b/tests/Acceptance/TOTPAcceptanceTest.php
@@ -70,7 +70,7 @@ class TOTPAcceptanceTest extends TestCase {
// Log in
$this->webDriver->findElement(WebDriverBy::id('user'))->sendKeys($this->user->getUID());
$this->webDriver->findElement(WebDriverBy::id('password'))->sendKeys('password');
- $this->webDriver->findElement(WebDriverBy::cssSelector('form[name=login] input[type=submit]'))->click();
+ $this->webDriver->findElement(WebDriverBy::cssSelector('form[name=login] [type=submit]'))->click();
// Go to personal settings and TOTP settings
$this->webDriver->get('http://localhost:8080/index.php/settings/user/security');
@@ -156,7 +156,7 @@ class TOTPAcceptanceTest extends TestCase {
// Log in
$this->webDriver->findElement(WebDriverBy::id('user'))->sendKeys($this->user->getUID());
$this->webDriver->findElement(WebDriverBy::id('password'))->sendKeys('password');
- $this->webDriver->findElement(WebDriverBy::cssSelector('form[name=login] input[type=submit]'))->click();
+ $this->webDriver->findElement(WebDriverBy::cssSelector('form[name=login] [type=submit]'))->click();
$this->webDriver->wait(20, 200)->until(function (WebDriver $driver) {
try {