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

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

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

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

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

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