Closed Crissal1995 closed 1 year ago
Example of item not found in the dashboard
variable, but found in the actual GUI dashboard.
<mee-hero-item id="promo-item" horz="left" vert="center" context="accessory" theme="light" ng-if="$ctrl.promotion" ng-show="$ctrl.show" data-m="{"cN":"Taart + kaas","id":"nlstar_rewards_adhoc_globalherobanner_recipe_20230904_20","sN":1,"aN":"Rewards.Dashboard.Promotion","cT":"Promotion"}" aria-label="Taart + kaas, Geprobeerd cheesecake te maken? Probeer maar eens. Dit is heel eenvoudig." class="ng-scope"><section ng-class="$heroItemCtrl.typeClass" class="m-hero-item f-x-left f-y-center context-accessory theme-light">...</mee-hero-item>
From time to time, a banner may popup in the home page of Rewards containing another promotion.
This is not found in the dashboard, so at the moment is skipped.
Usually it's a
urlreward
promotion, meaning that just clicking the element is sufficient to complete it.An option to execute it could be inserting a new step between promotions and searches where the homepage is checked for the presence of this element, using Selenium APIs.