[MGNLTEST-356] saas-TF can call Unleash-service to switch feature-toggle(s) Created: 18/Nov/22 Updated: 25/Jan/23 Resolved: 24/Jan/23 |
|
| Status: | Closed |
| Project: | Magnolia Test Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.1 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Christoph Meier | Assignee: | Roberto Gomez |
| Resolution: | Done | Votes: | 0 |
| Labels: | TPR-E2E | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoR: |
Empty
|
||||||||||||
| Epic Link: | subscription-life-cycle-support-by-test-fwk | ||||||||||||
| Team: | |||||||||||||
| Work Started: | |||||||||||||
| Description |
Context
The saas-test-framework has no control over how any particular feature behaves. For example, replacing JCR pages for Norsu pages requires changing the toggle state, but also some other operations over the subscription (See Slack thread). Even the hot reloading can't be guaranteed (see MGNLTEST-381). Therefore, for this ticket its enough if the saas-test-framework can change the toggle state (and verify the state has changed in Unleash Server), regardless how Magnolia reacts to the change. Also, not all the toggles trigger the same kind of change in Magnolia, and specifics depends on the concrete toggle and corresponding feature. So, in case the saas-test-framework needs to work with any particular feature, an independent ticket will be filed to handle the concrete scenario. There's a feature-toggles librarythat should be reuse for this task, exposing in the saas-test-framework the funcitonality provided by that library. Tasksaas-test-infra-connectors should provide a service which allows to switch such feature toggle(s). Since we sometimes we only want to know the status of a toggle - could make sense if the API of such SaasTFunleashService whould allow to read only first before toggling ... but ... tbd depending on what unleash provides Sources
|