示例#1
0
        public void VacanciesCount_ShouldBeFive_WhenCountryIsRomaniaAndLanguageIsEnglish()
        {
            DriverController.GetCurrentDriverInstance().Navigate().GoToUrl(testServer);

            const int expectedVacanciesCount = 5;
            var       careersPage            = new CareersPage();

            careersPage
            .SelectCountry("Romania")
            .SelectLanguage("English")
            .ClickAllVacancies();

            var actualVacanciesCount = careersPage.CountVacancies();

            actualVacanciesCount.Should().Be(expectedVacanciesCount);
        }