예제 #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);
        }