[MGNLTEST-371] Support bootsrapping norsu-content Created: 09/Dec/22  Updated: 13/Dec/22  Resolved: 13/Dec/22

Status: Closed
Project: Magnolia Test Framework
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Christoph Meier Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: TPR-E2E
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: subscription-life-cycle-support-by-test-fwk
Team: Foundation

 Description   

saas-TF provides "utilities" to "easy" bootstrap norsu content

Given the life-cycle-support of cucumber, the test-writter should be able to do something like this

@bootstrap-norsu-content
Scenario: Do some stuff
  Given fixture content 'foo/bar' at '/website' cleanup '/website/cucumber-salad'
  When bla
  Then haha

Scenario must be tagged with special tag.
saas-TF takes care about cleaning up after each scenario (or afterAll)



 Comments   
Comment by Christoph Meier [ 13/Dec/22 ]

This actually has been done - at least partially - under the "umbrella" of MGNLREST-546
dai.ha  has added info.magnolia.test.saas.bootstrap.norsu.NorsuBootstrapService - which is sufficient for the basic norsu-content-bootstrapping.
(See Dai's commit)

Later on we'll also need a way to delete / clean-up bootstraps, but Norsu-API does not yet support this, plus bootstrap for norsu-assets.

Anyhow - since this one was labelled with TPR - I close it as duplicate. 
I don't expect that saas-TF atm can do more bootstrapping support.

Generated at Mon Feb 12 07:48:17 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.