@mod @mod_assign Feature: In a timed assignment, students should confirm before starting the timer In order to submit a timed assignment As a student I need to confirm to begin the assignment before the timer starts Background: # /Users/huong/Work/moodles/stable_main/moodle/public/mod/assign/tests/behat/timed_assignment.feature:7 Given the following config values are set as admin: # behat_admin::the_following_config_values_are_set_as_admin()  | config | value | plugin | | enabletimelimit | 1 | assign | And the following "courses" exist: # behat_data_generators::the_following_entities_exist()  | fullname | shortname | category | | Course 1 | C1 | 0 | And the following "users" exist: # behat_data_generators::the_following_entities_exist()  | username | firstname | lastname | email | | student1 | Student | 1 | student1@example.com | | student2 | Student | 2 | student2@example.com | And the following "course enrolments" exist: # behat_data_generators::the_following_entities_exist()  | user | course | role | | student1 | C1 | student | | student2 | C1 | student | And the following "activities" exist: # behat_data_generators::the_following_entities_exist()  | activity | course | name | assignsubmission_file_enabled | assignsubmission_file_maxfiles | assignsubmission_file_maxsizebytes | teamsubmission | duedate | timelimit | | assign | C1 | Timed assignment 1 | 1 | 1 | 2097152 | 0 | ##+1 hours 30 minutes## | 60 | | assign | C1 | Group assignment 2 | 1 | 1 | 2097152 | 1 | ##+1 hours 30 minutes## | 60 | @javascript Scenario: Access a timed group assignment from the Dashboard # /Users/huong/Work/moodles/stable_main/moodle/public/mod/assign/tests/behat/timed_assignment.feature:57 Given the following "groups" exist: # behat_data_generators::the_following_entities_exist()  | name | course | idnumber | | Group 1 | C1 | CG1 | And the following "group members" exist: # behat_data_generators::the_following_entities_exist()  | user | group | | student1 | CG1 | | student2 | CG1 | And I am logged in as student1 # behat_auth::i_log_in_as() When I click on today in the mini-calendar block to view the detail # behat_calendar::i_click_on_today_in_mini_calendar_block() And I should see "Group assignment 2" # behat_general::assert_page_contains_text() And I pause # behat_general::i_pause_scenario_execution() No scenarios 11 steps (11 passed) 4m19.34s (79.23Mb)