[MAGNOLIA-7910] Create @Fixture mechanism for FMUI Created: 30/Sep/20  Updated: 04/Nov/20

Status: Selected
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Šimon Demočko Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: FakeMagnoliaUI
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)
Story Points: 5

 Description   

Currently, tests start with an empty root node. FMUI would benefit from the ability to read (exported) YAMLs into the root so tests can be done over existing data.

It would depend on the existence of a session in a test run and would import data within it.

Acceptance criteria

  • Read YAMLs into the root node so tests can work with the existing data. 
  • Consider making it a JUnit 5 extension, but still, have it available in JUnit 4
  • Remove YAMLImporter class from magnolia-ui-framework-jcr package and replace its usage with the new mechanism.

 


Generated at Mon Feb 12 04:27:56 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.