Пример #1
0
        public void GivenThatIAmOnTheReinstallScriptsPage_()
        {
            var relativityHomePageModel = new RelativityHomePageModel(Configuration.Driver);

            relativityHomePageModel.ClickTab(PageConstants.RecoverabilityIntegrityTab);
            var recoverabilityIntegrityPage = new RecoverabilityIntegrityPage(Configuration.Driver);

            recoverabilityIntegrityPage.ReInstallScriptsSubTab.Click();
        }
Пример #2
0
        public void WhenIHaveNavigatedToTheRecoveryObjectivesReportSubpage_()
        {
            var relativityHomePageModel = new RelativityHomePageModel(Configuration.Driver);

            relativityHomePageModel.ClickTab(PageConstants.RecoverabilityIntegrityTab);
            var recoverabilityIntegrityPage = new RecoverabilityIntegrityPage(Configuration.Driver);

            recoverabilityIntegrityPage.RecoveryObjectivesReportSubTab.Click();
        }
Пример #3
0
        public void ThenTheUserCanSeeTheScoreOfIsCodedInColor_(int scoreNumber, string scoreColor)
        {
            var recoverabilityIntegrityPage = new RecoverabilityIntegrityPage(Configuration.Driver);

            Assert.That(recoverabilityIntegrityPage.VerifyExpectedNumberValue(scoreNumber), Is.True);
            var backupDbccReportPagePage = new BackupDBCCReportPage(Configuration.Driver);
            var colorText = backupDbccReportPagePage.scoreColor[scoreColor.ToLower()];

            Assert.That(recoverabilityIntegrityPage.VerifyExpectedColor(colorText), Is.True);
        }
Пример #4
0
        public void ThenTheUserCanSeeTheListIsExportableOnTheRecoverabilityIntegrityPageAndTheFileExistsAtThe_(string fileName, string filePath)
        {
            var recoverabilityIntegrityPage = new RecoverabilityIntegrityPage(Configuration.Driver);

            recoverabilityIntegrityPage.VerifyListIsExportable(fileName, Config.DownloadPath);
        }
Пример #5
0
        public void ThenICanSeeTheChartIsPresentOnThePage_()
        {
            var recoverabilityIntegrityPage = new RecoverabilityIntegrityPage(Configuration.Driver);

            Assert.That(recoverabilityIntegrityPage.Chart.Displayed, Is.True);
        }
Пример #6
0
        public void ThenICanSeeTheQuarterlyRIScoreIsShownOnThePage_()
        {
            var recoverabilityIntegrityPage = new RecoverabilityIntegrityPage(Configuration.Driver);

            Assert.That(recoverabilityIntegrityPage.VerifyQuaterlyScoreIsShownInTheTopLeft(), Is.True);
        }
Пример #7
0
        public void ThenTheUserCanSeeTheListIsFiltarableForAllColumns_()
        {
            var recoverabilityIntegrityPage = new RecoverabilityIntegrityPage(Configuration.Driver);

            Assert.That(recoverabilityIntegrityPage.VerifyListIsFiltarable("0"), Is.True);
        }
Пример #8
0
        public void ThenTheUserCanSeeTheListIsPagable_()
        {
            var recoverabilityIntegrityPage = new RecoverabilityIntegrityPage(Configuration.Driver);

            Assert.That(recoverabilityIntegrityPage.VerifyListIsPagable(), Is.True);
        }
Пример #9
0
        public void ThenICanSeeTheRIScoreShowsUpOnThePage_()
        {
            var recoverabilityIntegrityPage = new RecoverabilityIntegrityPage(Configuration.Driver);

            Assert.That(recoverabilityIntegrityPage.VerifyRIScoreShowsUpOnThePage(), Is.True);
        }