|
Lines 81-87
SKIP: {
Link Here
|
| 81 |
|
81 |
|
| 82 |
is( |
82 |
is( |
| 83 |
$driver->find_element( |
83 |
$driver->find_element( |
| 84 |
'//div[@id="registration-status-enabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, |
84 |
'//div[@id="registration-status-enabled"]/div[@class="alert alert-success two-factor-status"]') |
|
|
85 |
->get_text, |
| 85 |
'', # 'Two-factor authentication: Enabled' is not shown |
86 |
'', # 'Two-factor authentication: Enabled' is not shown |
| 86 |
'2FA is disabled' |
87 |
'2FA is disabled' |
| 87 |
); |
88 |
); |
|
Lines 116-122
SKIP: {
Link Here
|
| 116 |
|
117 |
|
| 117 |
is( |
118 |
is( |
| 118 |
$driver->find_element( |
119 |
$driver->find_element( |
| 119 |
'//div[@id="registration-status-enabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, |
120 |
'//div[@id="registration-status-enabled"]/div[@class="alert alert-success two-factor-status"]') |
|
|
121 |
->get_text, |
| 120 |
"Two-factor authentication: Enabled\nYour account is protected with two-factor authentication.", |
122 |
"Two-factor authentication: Enabled\nYour account is protected with two-factor authentication.", |
| 121 |
'2FA is enabled' |
123 |
'2FA is enabled' |
| 122 |
); |
124 |
); |
|
Lines 329-335
SKIP: {
Link Here
|
| 329 |
|
331 |
|
| 330 |
is( |
332 |
is( |
| 331 |
$driver->find_element( |
333 |
$driver->find_element( |
| 332 |
'//div[@id="registration-status-enabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, |
334 |
'//div[@id="registration-status-enabled"]/div[@class="alert alert-success two-factor-status"]') |
|
|
335 |
->get_text, |
| 333 |
"Two-factor authentication: Enabled\nYour account is protected with two-factor authentication.", |
336 |
"Two-factor authentication: Enabled\nYour account is protected with two-factor authentication.", |
| 334 |
'2FA is enabled' |
337 |
'2FA is enabled' |
| 335 |
); |
338 |
); |
|
Lines 345-351
SKIP: {
Link Here
|
| 345 |
|
348 |
|
| 346 |
is( |
349 |
is( |
| 347 |
$driver->find_element( |
350 |
$driver->find_element( |
| 348 |
'//div[@id="registration-status-enabled"]/div[@class="alert alert-info two-factor-status"]')->get_text, |
351 |
'//div[@id="registration-status-enabled"]/div[@class="alert alert-success two-factor-status"]') |
|
|
352 |
->get_text, |
| 349 |
'', # 'Two-factor authentication: Enabled' is not shown |
353 |
'', # 'Two-factor authentication: Enabled' is not shown |
| 350 |
'2FA is disabled' |
354 |
'2FA is disabled' |
| 351 |
); |
355 |
); |
| 352 |
- |
|
|