Uploaded image for project: 'Community Edition'
  1. Community Edition
  2. MGNLCE-83

The UI tests create screenshots with excessively long filenames

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Obsolete
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Which, on some systems, Windows, but also Ubuntu using encfs, can lead to the following exception:

      java.lang.AssertionError: IOException while moving screenshot /tmp/screenshot3392632734016174118.png to 0064-By_xpath_contains_class_v_actionbar_contains_class_v_actionbar_section_and_not_aria_hidden_li_class_v_action_text_Edit_page_properties_ : java.io.FileNotFoundException: target/surefire-reports/screenshots/PersonalizationUITest#testStandardPersonalizationWorkflow/0064-By_xpath_contains_class_v_actionbar_contains_class_v_actionbar_section_and_not_aria_hidden_li_class_v_action_text_Edit_page_properties_.png (File name too long)
      

      A total number of characters should be set. Based on my research 142 should be good to fix issues with Ubuntu, however an even shorter name wouldn't cause any harm.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              mmichel Maxime Michel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD