summaryrefslogtreecommitdiff
path: root/service/test/functional/features/account_recovery.feature
diff options
context:
space:
mode:
authorDenis Costa <deniscostadsc@gmail.com>2017-04-13 16:43:12 -0300
committerGitHub <noreply@github.com>2017-04-13 16:43:12 -0300
commit1fcb0c8fb399647bf86ef1b7c6771b3a29f67aa9 (patch)
tree57afe993d19006c223c767d37acc4cd4b9426581 /service/test/functional/features/account_recovery.feature
parent9203d8e62dd5bd3c9456629e9b336a0b89fbd502 (diff)
parentec00906375cd35220ee694264dce9c4ba5cdbcc9 (diff)
Merge pull request #1052 from pixelated/email-recovery-code
[#927] Email recovery code
Diffstat (limited to 'service/test/functional/features/account_recovery.feature')
-rw-r--r--service/test/functional/features/account_recovery.feature8
1 files changed, 7 insertions, 1 deletions
diff --git a/service/test/functional/features/account_recovery.feature b/service/test/functional/features/account_recovery.feature
index cf0144e0..da167d31 100644
--- a/service/test/functional/features/account_recovery.feature
+++ b/service/test/functional/features/account_recovery.feature
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
-@smoke
+@smoke @require_user
Feature: Account Recovery
As a user of Pixelated
I want to recover my account
@@ -28,6 +28,12 @@ Feature: Account Recovery
And I logout from the header
And I should see the login page
+ Scenario: Confirming I received the recovery code at my backup email
+ Given I am logged in Pixelated
+ When I open the mail with the recovery code
+ Then I see the mail has the recovery code
+ Then I logout
+
Scenario: Recovering an account
Given I am on the account recovery page
When I submit admin recovery code