Exemplo n.º 1
0
        public void ChangeLaguageIndexPage()
        {
            string lang = "Italiano";

            _indexPage = _indexPage.ChangeLanguage(lang);
            Assert.That(lang, Is.EqualTo(_indexPage.FlagBelongsTo()));
        }
Exemplo n.º 2
0
        public void ChangeCurrencyResultPage()
        {
            //English Demo version
            _searchResultPage = _indexPage.ChangeLanguage("English (UK)").SendSearchForm(true, true);

            string currencyISO = "CAD";

            _searchResultPage = _searchResultPage.ChangeCurrency(currencyISO);
            Assert.That(currencyISO, Is.EqualTo(_searchResultPage.CurrencyType));
            Assert.IsTrue(_searchResultPage.PostcardPricesStrings.All(c => c.Contains(currencyISO)));
        }