Beispiel #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);
        }
Beispiel #2
0
        public void ThenTheUserCanSeeTheListIsExportableOnTheRecoveryObjectivesReportPageAndTheFileExistsAtThe_(string fileName, string filePath)
        {
            var recoveryObjectivesReportPage = new RecoveryObjectivesReportPage(Configuration.Driver);

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

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

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

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

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