Пример #1
0
        public void ThenTheUserCanSeeTheScoreOfIsCodedInColorOnTheRecoveryObjectivesReportPage_(int scoreNumber, string scoreColor)
        {
            var recoveryObjectivesReportPage = new RecoveryObjectivesReportPage(Configuration.Driver);

            Assert.That(recoveryObjectivesReportPage.VerifyExpectedNumberValue(scoreNumber), Is.True);
            var colorText = recoveryObjectivesReportPage.scoreColor[scoreColor.ToLower()];

            Assert.That(recoveryObjectivesReportPage.VerifyExpectedColor(colorText), Is.True);
        }
Пример #2
0
        public void ThenTheUserCanSeeTheListIsExportableOnTheRecoveryObjectivesReportPageAndTheFileExistsAtThe_(string fileName, string filePath)
        {
            var recoveryObjectivesReportPage = new RecoveryObjectivesReportPage(Configuration.Driver);

            recoveryObjectivesReportPage.VerifyListIsExportable(fileName, Config.DownloadPath);
        }
Пример #3
0
        public void ThenTheUserCanSeeTheListIsSortableForAllColumnsOnTheRecoveryObjectivesReportPage_()
        {
            var recoveryObjectivesReportPage = new RecoveryObjectivesReportPage(Configuration.Driver);

            Assert.That(recoveryObjectivesReportPage.VerifyListIsSortable(), Is.True);
        }
Пример #4
0
        public void ThenICanSeeTheQuarterlyRIScoreIsShownOnTheRecoveryObjectivesReportPage_()
        {
            var recoveryObjectivesReportPage = new RecoveryObjectivesReportPage(Configuration.Driver);

            Assert.That(recoveryObjectivesReportPage.VerifyQuaterlyScoreIsShownInTheTopLeft, Is.True);
        }
Пример #5
0
        public void ThenICanSeeTheRecoveryObjectivesReportDataShowsUpOnThePage_()
        {
            var recoveryObjectivesReportPage = new RecoveryObjectivesReportPage(Configuration.Driver);

            Assert.That(recoveryObjectivesReportPage.VerifyRecoveryObjectivesReportDataShowsUpOnThePage, Is.True);
        }
Пример #6
0
        public void ThenICanSeeTheChartIsPresentOnTheRecoveryObjectivesReportPage_()
        {
            var recoveryObjectivesReportPage = new RecoveryObjectivesReportPage(Configuration.Driver);

            Assert.That(recoveryObjectivesReportPage.Chart.Displayed, Is.True);
        }