[MGNLEE-525] Fix failing Diff UI test Created: 04/Jan/18  Updated: 19/Jul/22  Resolved: 19/Jul/22

Status: Closed
Project: Magnolia DX Core
Component/s: None
Affects Version/s: 5.6.2
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Federico Grilli Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 0988-waitFor_visibility_of_element_located_by_By_xpath_h3_span_contains_class_diff_html_removed_timeout.png    
Issue Links:
relation
is related to MGNLEE-507 Remove dependency to STK from tests (... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

Failing test is info.magnolia.eeintegrationtests.uitest.DiffUITest#changeStageAreaTitleThenPublishAndCompareToPreviousVersion
Apparently diff html is messed up when only one version exists and is compared to the current changes. One would expect the diffs to be in a span element under the existing h3 whereas they end up in a p. This is fixed as soon as two or more versions exist of the same page.
See also attached screenshot.

Is this an expected behaviour from the Diff module?



 Comments   
Comment by Christoph Meier [ 19/Jul/22 ]

This old test has been deleted.
And there are three scenarios to be implemented as a replacement - though with LOW prio to implement. See MGNLDIFF-118.
In consequence I close this ticket now.

Generated at Mon Feb 12 05:30:51 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.