diff --git a/CHANGELOG.md b/CHANGELOG.md index 548e4b4..906e3c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ## [Unreleased] +- Adapt to new login design - [#39053](https://github.com/owncloud/twofactor_totp/issues/237) ## [0.7.2] - 2021-05-26 diff --git a/README.md b/README.md index ef82ff8..22fae8d 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Tested with the following apps: ## Enabling TOTP 2FA for your account ![](https://raw.githubusercontent.com/owncloud/twofactor_totp/stable9.1/screenshots/settings.png) -![](https://raw.githubusercontent.com/owncloud/twofactor_totp/stable9.1/screenshots/verify.png) +![](https://raw.githubusercontent.com/owncloud/twofactor_totp/22056c405b5ebd39d2ed528291480d4c2959504b/screenshots/verify.jpg) ## Running tests You can use the provided Makefile to run all tests by using: diff --git a/screenshots/verify.jpg b/screenshots/verify.jpg new file mode 100644 index 0000000..1490bae Binary files /dev/null and b/screenshots/verify.jpg differ diff --git a/screenshots/verify.png b/screenshots/verify.png deleted file mode 100644 index 37432b6..0000000 Binary files a/screenshots/verify.png and /dev/null differ diff --git a/templates/challenge.php b/templates/challenge.php index 46114eb..fdbb0c8 100644 --- a/templates/challenge.php +++ b/templates/challenge.php @@ -1,4 +1,13 @@ -
diff --git a/tests/acceptance/features/lib/VerificationPage.php b/tests/acceptance/features/lib/VerificationPage.php index 86ec185..ce53e67 100644 --- a/tests/acceptance/features/lib/VerificationPage.php +++ b/tests/acceptance/features/lib/VerificationPage.php @@ -32,7 +32,7 @@ */ class VerificationPage extends OwncloudPage { private $verificationFieldXpath = '//form/input[@name="challenge"]'; - private $verifySubmissionBtnXpath = '//form/input[@type="submit"]'; + private $verifySubmissionBtnXpath = '//form//button[@type="submit"]'; private $errorTokenMessageXpath = '//div/span[contains(text(),"verifying the token")]'; private $cancelOrLoginButtonXpath = '//a[@class="two-factor-cancel"]';