-
Bug
-
Resolution: Fixed
-
Minor
-
2.6.1, 2.7
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
MOODLE_26_STABLE
-
MDL-44111_master -
When the length exceeds the maximum allowed by PHP the file can not be written, this may happen when the failure is in a step which requires a tablenode for example, which contains many characters.
PHP Warning: file_put_contents(/home/marina/repositories/master/behatsshot/20140212_081037/View-assignment-submissions-in-recent-activity-block_-div-role-main-div-contains-concat-normalize-space-class-box-1-contains-Common-and-name-H3-and-2-contains-Sam1-and-name-H3-and-3-contains-VisibleGroups-and-name-H3-and-4-contains-Sam1-and-name-H3-and-5-contains-SeparateGroupsNoGrouping-and-name-H3-and-6-contains-Sam1-and-name-H3-and-7-contains-SeparateGroupsGrouping1-and-name-H3-and-8-contains-Sam1-and-name-H3-xpath_element-should-exists.png): failed to open stream: File name too long in /home/marina/repositories/master/moodle/vendor/behat/mink-extension/src/Behat/MinkExtension/Context/RawMinkContext.php on line 147
|
|
Warning: file_put_contents(/home/marina/repositories/master/behatsshot/20140212_081037/View-assignment-submissions-in-recent-activity-block_-div-role-main-div-contains-concat-normalize-space-class-box-1-contains-Common-and-name-H3-and-2-contains-Sam1-and-name-H3-and-3-contains-VisibleGroups-and-name-H3-and-4-contains-Sam1-and-name-H3-and-5-contains-SeparateGroupsNoGrouping-and-name-H3-and-6-contains-Sam1-and-name-H3-and-7-contains-SeparateGroupsGrouping1-and-name-H3-and-8-contains-Sam1-and-name-H3-xpath_element-should-exists.png): failed to open stream: File name too long in /home/marina/repositories/master/moodle/vendor/behat/mink-extension/src/Behat/MinkExtension/Context/RawMinkContext.php on line 147
|
PHP Warning: fopen(/home/marina/repositories/master/behatsshot/20140212_081037/View-assignment-submissions-in-recent-activity-block_-div-role-main-div-contains-concat-normalize-space-class-box-1-contains-Common-and-name-H3-and-2-contains-Sam1-and-name-H3-and-3-contains-VisibleGroups-and-name-H3-and-4-contains-Sam1-and-name-H3-and-5-contains-SeparateGroupsNoGrouping-and-name-H3-and-6-contains-Sam1-and-name-H3-and-7-contains-SeparateGroupsGrouping1-and-name-H3-and-8-contains-Sam1-and-name-H3-xpath_element-should-exists.html): failed to open stream: File name too long in /home/marina/repositories/master/moodle/lib/tests/behat/behat_hooks.php on line 350
|
|
Warning: fopen(/home/marina/repositories/master/behatsshot/20140212_081037/View-assignment-submissions-in-recent-activity-block_-div-role-main-div-contains-concat-normalize-space-class-box-1-contains-Common-and-name-H3-and-2-contains-Sam1-and-name-H3-and-3-contains-VisibleGroups-and-name-H3-and-4-contains-Sam1-and-name-H3-and-5-contains-SeparateGroupsNoGrouping-and-name-H3-and-6-contains-Sam1-and-name-H3-and-7-contains-SeparateGroupsGrouping1-and-name-H3-and-8-contains-Sam1-and-name-H3-xpath_element-should-exists.html): failed to open stream: File name too long in /home/marina/repositories/master/moodle/lib/tests/behat/behat_hooks.php on line 350
|
PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/marina/repositories/master/moodle/lib/tests/behat/behat_hooks.php on line 351
|
|
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/marina/repositories/master/moodle/lib/tests/behat/behat_hooks.php on line 351
|
PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /home/marina/repositories/master/moodle/lib/tests/behat/behat_hooks.php on line 352
|
|
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/marina/repositories/master/moodle/lib/tests/behat/behat_hooks.php on line 352
|
Given "//div[@role='main']/div[contains(concat(' ',normalize-space(@class),' '),' box ')].[*[1][contains(.,'Common') and name()='H3'] and *[2][contains(.,'Sam1') and name()!='H3'] and *[3][contains(.,'VisibleGroups') and name()='H3'] and *[4][contains(.,'Sam1') and name()!='H3'] and *[5][contains(.,'SeparateGroupsNoGrouping') and name()='H3'] and *[6][contains(.,'Sam1') and name()!='H3'] and *[7][contains(.,'SeparateGroupsGrouping1') and name()='H3'] and *[8][contains(.,'Sam1') and name()!='H3']]" "xpath_element" should exists # behat_general::should_exists()
|
Xpath matching locator "//div[@role='main']/div[contains(concat(' ',normalize-space(@class),' '),' box ')].[*[1][contains(.,'Common') and name()='H3'] and *[2][contains(.,'Sam1') and name()!='H3'] and *[3][contains(.,'VisibleGroups') and name()='H3'] and *[4][contains(.,'Sam1') and name()!='H3'] and *[5][contains(.,'SeparateGroupsNoGrouping') and name()='H3'] and *[6][contains(.,'Sam1') and name()!='H3'] and *[7][contains(.,'SeparateGroupsGrouping1') and name()='H3'] and *[8][contains(.,'Sam1') and name()!='H3']]" not found.
|
- caused a regression
-
MDL-44686 The behat DOM dump & screenshot file names have 256 chars limit instead of 255
-
- Closed
-