[MGNLCE-83] The UI tests create screenshots with excessively long filenames Created: 05/May/17 Updated: 25/Oct/18 Resolved: 25/Oct/18 |
|
| Status: | Closed |
| Project: | Community Edition |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Maxime Michel | Assignee: | Unassigned |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| 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. |