Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 85... Línea 85...
85
     * @param string $activityname The activity name
85
     * @param string $activityname The activity name
86
     */
86
     */
87
    public function i_go_to_activity_advanced_grading_page($userfullname, $activityname) {
87
    public function i_go_to_activity_advanced_grading_page($userfullname, $activityname) {
Línea 88... Línea 88...
88
 
88
 
89
        // Step to access the user grade page from the grading page.
-
 
90
        $gradetext = get_string('gradeverb');
-
 
91
 
89
        // Step to access the user grade page from the grading page.
Línea 92... Línea 90...
92
        $this->execute('behat_navigation::go_to_breadcrumb_location', $this->escape($activityname));
90
        $this->execute('behat_navigation::go_to_breadcrumb_location', $this->escape($activityname));
Línea 93... Línea 91...
93
 
91
 
94
        $this->execute('behat_general::click_link', get_string('viewgrading', 'mod_assign'));
92
        $this->execute('behat_general::click_link', get_string('gradeitem:submissions', 'mod_assign'));
95
 
93
 
96
        $this->execute('behat_general::i_click_on_in_the',
94
        $this->execute('behat_general::i_click_on_in_the',
97
                       array(
95
                       array(
98
                           $this->escape($gradetext),
96
                           $this->escape(get_string('gradeactions', 'assign')),
99
                           'link',
97
                           'actionmenu',
-
 
98
                           $this->escape($userfullname),
-
 
99
                           'table_row'
100
                           $this->escape($userfullname),
100
                       ));
Línea 101... Línea 101...
101
                           'table_row'
101
 
102
                       ));
102
        $this->execute('behat_action_menu::i_choose_in_the_open_action_menu', get_string('gradeverb'));
103
    }
103
    }
Línea 159... Línea 159...
159
    public function i_save_the_advanced_grading_form() {
159
    public function i_save_the_advanced_grading_form() {
Línea 160... Línea 160...
160
 
160
 
161
        $this->execute('behat_forms::press_button', get_string('savechanges'));
161
        $this->execute('behat_forms::press_button', get_string('savechanges'));
162
        $this->execute('behat_general::i_click_on', array($this->escape(get_string('editsettings')), 'link'));
162
        $this->execute('behat_general::i_click_on', array($this->escape(get_string('editsettings')), 'link'));
163
        $this->execute('behat_forms::press_button', get_string('cancel'));
163
        $this->execute('behat_forms::press_button', get_string('cancel'));
164
        $this->execute('behat_general::click_link', get_string('viewgrading', 'mod_assign'));
164
        $this->execute('behat_general::click_link', get_string('gradeitem:submissions', 'mod_assign'));
Línea 165... Línea 165...
165
    }
165
    }
166
 
166
 
167
    /**
167
    /**