[MGNLREST-524] Prepare test sample independently from demo-app Created: 17/Oct/22 Updated: 21/Oct/22 Resolved: 20/Oct/22 |
|
| Status: | Closed |
| Project: | Magnolia REST Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Oanh Thai Hoang | Assignee: | Oanh Thai Hoang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | 7.5h | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Attachments: |
|
|||||||||||||||
| Sub-Tasks: |
|
|||||||||||||||
| Template: |
|
|||||||||||||||
| Acceptance criteria: |
Empty
|
|||||||||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
|||||||||||||||
| Date of First Response: | ||||||||||||||||
| Epic Link: | DevX Bucket | |||||||||||||||
| Sprint: | DevX 22 | |||||||||||||||
| Story Points: | 1 | |||||||||||||||
| Team: |
| Description |
|
Problem: Those endpoints are refer to workspace magnolia-travels come from demo-app. See https://git.magnolia-cms.com/projects/MODULES/repos/rest/browse/magnolia-rest-integration-tests/magnolia-rest-test-webapp/src/main/webapp/modules/rest-content-delivery/restEndpoints/delivery/norsu
When demo-app can't import magnolia-travels data (see error-log below). So rest-intergration-tests doesn't have data for testing
Expectation:
|
| Comments |
| Comment by Christopher Zimmermann [ 17/Oct/22 ] |
|
What content does it depend on - probaably Tours and Categories content? Can these still be used for the test? Can we copy that content? |
| Comment by Oanh Thai Hoang [ 17/Oct/22 ] |
|
The original data boostrap from https://git.magnolia-cms.com/projects/CLOUD/repos/norsu/browse/magnolia-demo-app/src/main/resources/mgnl-bootstrap/demo-app/tours.magnolia-travels.xml. We should not copy whole above content because they are really big. ~ 24mb and cause problem when importing as well. My first sign is there are 12 failed test in total. See
And those tests look like refer to mangolia-travels/The-Maya-and-Aztec-Empires and mangolia-travels/repeat.. |