[MGNLTEST-345] Make sure that main branch is always synced Created: 07/Nov/22  Updated: 16/Nov/22  Resolved: 10/Nov/22

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

Type: Task Priority: Neutral
Reporter: Roberto Gomez Assignee: Roberto Gomez
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 0.25d
Original Estimate: Not Specified

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

 Description   

We have found that some test fail because when attaching the hello-saas git repo only the branch newly created for the test suite is synced into the subscription.

In this scenario the Magnolia admin central environment swicther only shows the branch, and since some test expect there to be the 'main' branch, it causes test failure.

In this cases, we've found that pushing the "sync now" button on the Magnolia Git config form, it forces all the other branches to sync (and hence be shown in the environment swithcer).

We need to discover how the syncing works and either force to always sync the main branch (aside from the current subscription test branch), or provide in the saas-test-framework some method to allow syncing per branch.

If possible we should not enforce to sync all the repo, since controlling what individual branches do sync is even convenient for some test scenarios.

 

 

 

 


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