@@ -490,7 +490,7 @@ protected function get_filepicker_node($question) {
490
490
$ exception = new ExpectationException ('The filepicker for the question with text " ' . $ question .
491
491
'" can not be found ' , $ this ->getSession ());
492
492
493
- $ filepickercontainer = $ this ->find (
493
+ $ filepickercontainer = $ this ->find (
494
494
'xpath ' ,
495
495
"//p[contains(.,' " . $ question . "')] " .
496
496
"//parent::div[contains(concat(' ', normalize-space(@class), ' '), ' no-overflow ')] " .
@@ -514,7 +514,8 @@ protected function get_filepicker_node($question) {
514
514
* @throws DriverException
515
515
* @throws ExpectationException Thrown by behat_base::find
516
516
*/
517
- protected function upload_file_to_question_filemanager_questionnaire ($ filepath , $ question , TableNode $ data , $ overwriteaction = false ) {
517
+ protected function upload_file_to_question_filemanager_questionnaire ($ filepath , $ question , TableNode $ data ,
518
+ $ overwriteaction = false ) {
518
519
global $ CFG ;
519
520
520
521
if (!$ this ->has_tag ('_file_upload ' )) {
@@ -600,7 +601,7 @@ protected function open_add_file_window($filemanagernode, $repositoryname) {
600
601
$ exception = new ExpectationException ('No files can be added to the specified filemanager ' , $ this ->getSession ());
601
602
602
603
// We should deal with single-file and multiple-file filemanagers,
603
- // catching the exception thrown by behat_base::find() in case is not multiple
604
+ // catching the exception thrown by behat_base::find() in case is not multiple.
604
605
$ this ->execute ('behat_general::i_click_on_in_the ' , [
605
606
'div.fp-btn-add a, input.fp-btn-choose ' , 'css_element ' ,
606
607
$ filemanagernode , 'NodeElement '
0 commit comments