Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 8... Línea 8...
8
    Given the scheduled task "\core\task\send_new_user_passwords_task" has a fail delay of "60" seconds
8
    Given the scheduled task "\core\task\send_new_user_passwords_task" has a fail delay of "60" seconds
9
    And I log in as "admin"
9
    And I log in as "admin"
10
    And I navigate to "Server > Tasks > Scheduled tasks" in site administration
10
    And I navigate to "Server > Tasks > Scheduled tasks" in site administration
Línea 11... Línea 11...
11
 
11
 
12
  Scenario: Any fail delay is highlighted
12
  Scenario: Any fail delay is highlighted
13
    Then I should see "60" in the "Send new user passwords" "table_row"
13
    Then I should see "1 min" in the "Send new user passwords" "table_row"
14
    And I should see "Clear" in the "Send new user passwords" "table_row"
14
    And I should see "Clear" in the "Send new user passwords" "table_row"
Línea 15... Línea 15...
15
    And I should see "60" in the "td.table-danger" "css_element"
15
    And I should see "1 min" in the "td.table-danger" "css_element"
16
 
16
 
17
  Scenario: Clear fail delay
17
  Scenario: Clear fail delay
18
    When I click on "Clear" "text" in the "Send new user passwords" "table_row"
18
    When I click on "Clear" "text" in the "Send new user passwords" "table_row"
19
    And I should see "Are you sure you want to clear the fail delay"
-
 
20
    And I press "Clear"
19
    And I should see "Are you sure you want to clear the fail delay"
21
 
20
    And I press "Clear"
22
    Then I should not see "60" in the "Send new user passwords" "table_row"
21
    Then I should not see "1 min" in the "Send new user passwords" "table_row"
Línea 23... Línea 22...
23
    And I should not see "Clear" in the "Send new user passwords" "table_row"
22
    And I should not see "Clear" in the "Send new user passwords" "table_row"
24
    And I should see "Send new user passwords" in the "tr.table-primary" "css_element"
23
    And I should see "Send new user passwords" in the "tr.table-primary" "css_element"
25
 
24
 
26
  Scenario: Cancel clearing the fail delay
-
 
27
    When I click on "Clear" "text" in the "Send new user passwords" "table_row"
25
  Scenario: Cancel clearing the fail delay
28
    And I press "Cancel"
26
    When I click on "Clear" "text" in the "Send new user passwords" "table_row"
29
 
27
    And I press "Cancel"