Details
Description
In the scope of this task, the API call to the page model in step 4 should be wrapped in QA essentials API library.
Scenario 1:
- Add Dutch variant to the SPA channel to hide one of the banners on the home page for a visitor from the Netherlands.
- Switch 'view as' to Dirk
Expected 1: The channel manager should show one banner.
3. Publish the channel.
4. Using QA essentials API library request the PM with X-Forwarded-For headers equal to Dutch IP address to page model. (http://localhost:3003/site/spa-react-ssr/resourceapi/)
Expected 2: The home page response contains one banner.