Esempio n. 1
0
        [Test] //Day 4 Task9-Б, 2

        public void TestMethod4()
        {
            _loginPage    = new LoginPage(Browser);
            _countries    = new Countries(Browser);
            _countriesMap = new CountriesMap(Browser);

            Browser.Navigate().GoToUrl("http://localhost/litecart/admin/");
            _loginPage.Login("admin", "admin");
            _countries.ClickMenuItem("Countries");
            _countries.CheckZonesAlphabeticalSorted();
            Assert.IsTrue(_countriesMap.GetListOfZoneNames().SequenceEqual(_countriesMap.GetSortedListOfZoneNames()), "Zones are not sorted alphabetically");
        }