Feature: Two-Factor Authentication
Description: As a security-conscious player
I want to use two-factor authentication
So that my account is protected from unauthorized access
File name: two-factor.feature
Relative path: auth/two-factor.feature
Given
I am on the login page
00:00:00.315
And
the player has 2FA enabled
00:00:00.003
When
I enter "player@test.com" as email
00:00:00.014
And
I enter "password" as password
00:00:00.020
And
I click the sign in button
00:00:00.041
Then
I should see the 2FA verification screen
00:00:00.111
Given
I am on the 2FA verification screen
00:00:00.452
When
I click the use backup code button
00:00:00.037
Then
I should see the backup code input
00:00:00.003
When
I click the use authenticator code button
00:00:00.031
Then
I should see the authenticator code input
00:00:00.002