Пример #1
0
        public void AssertDetailsAreCorrect(string employeeId, string hourlyrate, string day, string hours, string minutes)
        {
            DetailsPage dp = new DetailsPage(driver);

            if (!driver.Url.Contains("https://codat-qa-task.azurewebsites.net/Details"))
            {
                throw new InvalidElementStateException();
            }

            dp.EmployeeIdAssert(employeeId);
            //dp.HourlyRateAssert(hourlyrate);
            dp.DayAssert(day);
            dp.HourAssert(hours);
            dp.MinutesAssert(minutes);
        }