Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-44686

The behat DOM dump & screenshot file names have 256 chars limit instead of 255

XMLWordPrintable

    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • wip-MDL-44686-master
    • Hide
      1. Add $CFG->behat_faildump_path to your config.php
      2. Change some behat test by adding the very long (over 255 chars) and wrong step like And I should see "lkjlklkjlkjlkjlkj"
      3. Run this behat test and make sure that when it fails it creates a screenshot with filename with the definition of the failed step but truncated to 255 chars (including extension)
      Show
      Add $CFG->behat_faildump_path to your config.php Change some behat test by adding the very long (over 255 chars) and wrong step like And I should see "lkjlklkjlkjlkjlkj" Run this behat test and make sure that when it fails it creates a screenshot with filename with the definition of the failed step but truncated to 255 chars (including extension)

      this fails with on ubuntu and most of linux system with exactly the same error as in MDL-44111

      Most filesystems have 255 chars limit for filenames:
      See http://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits

            marina Marina Glancy
            marina Marina Glancy
            Rajesh Taneja Rajesh Taneja
            Dan Poltawski Dan Poltawski
            Damyon Wiese Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.