mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-80725 tool_mfa: Apply en_fix to Behat tests
Also use the appropriate Behat tags `@tool @tool_mfa @factor_sms` instead of `@tool_admin_mfa`.
This commit is contained in:
parent
83532409cc
commit
c424ba34e2
@ -1,4 +1,4 @@
|
||||
@tool_admin_mfa
|
||||
@tool @tool_mfa @factor_sms
|
||||
Feature: Login user with sms authentication factor
|
||||
In order to login using SMS factor authentication
|
||||
As an user
|
||||
@ -14,7 +14,7 @@ Feature: Login user with sms authentication factor
|
||||
# Set up user SMS factor in user preferences.
|
||||
When I follow "Preferences" in the user menu
|
||||
And I click on "Multi-factor authentication preferences" "link"
|
||||
And I click on "Setup SMS" "button"
|
||||
And I click on "Set up SMS" "button"
|
||||
And I set the field "Mobile number" to "+34649709233"
|
||||
And I press "Send code"
|
||||
And I set the field "Enter code" with valid code
|
||||
|
@ -1,6 +1,6 @@
|
||||
@tool_admin_mfa
|
||||
Feature: Setup SMS factor in user preferences
|
||||
In order check the setup SMS factor verification
|
||||
@tool @tool_mfa @factor_sms
|
||||
Feature: Set up SMS factor in user preferences
|
||||
In order check the SMS factor verification
|
||||
As an admin
|
||||
I want to setup and enable the SMS factor for the current user
|
||||
|
||||
@ -12,7 +12,7 @@ Feature: Setup SMS factor in user preferences
|
||||
| enabled | 1 | factor_sms |
|
||||
When I follow "Preferences" in the user menu
|
||||
And I click on "Multi-factor authentication preferences" "link"
|
||||
And I click on "Setup SMS" "button"
|
||||
And I click on "Set up SMS" "button"
|
||||
|
||||
Scenario: Phone number setup form validation
|
||||
Given I set the field "Mobile number" to "++5555sss"
|
||||
|
Loading…
x
Reference in New Issue
Block a user