public void Select(string brandName)
        {
            var categoryXPath = BrandNameXPathSelector(brandName);
            var successXPath  = ExpandedBrandNameXPathSelector(brandName);

            _actAndWaitUntilAssertion.ClickAndWaitForElement(
                categoryXPath,
                successXPath,
                $"Couldn't select the {brandName} card");
        }
Esempio n. 2
0
        public void ClickCategory(string category)
        {
            var categoryXPath = CategoryXPathSelector(category);
            var successXPath  = SelectedCategoryXPathSelector(category);

            _actAndWaitUntilAssertion.ClickAndWaitForElement(
                categoryXPath,
                successXPath,
                $"Couldn't click the {category} category");
        }
 public void QuickPickDenomination(string value)
 {
     _actAndWaitUntilAssertion.ClickAndWaitForElement(DenominationQuickSelectButtonXPath(value),
                                                      SelectedDenominationQuickSelectButtonXPath(value),
                                                      $"a {value} quick pick denomination could not be selected");
 }