public async Task CleanUpScenario()
        {
            InstrumentHelper.GetInstance().UninstallSurvey();

            await CloudStorageHelper.GetInstance().DeleteFileInBucketAsync(
                BlaiseConfigurationHelper.InstrumentPackageBucket,
                BlaiseConfigurationHelper.InstrumentPackage);
        }
Exemple #2
0
        public static void SetupUpFeature()
        {
            if (StubConfigurationHelper.UseStubs)
            {
                return;
            }

            InstrumentHelper.GetInstance().InstallSurvey();
        }
Exemple #3
0
 public void CleanUpScenario()
 {
     CaseHelper.GetInstance().DeleteCases();
     InstrumentHelper.GetInstance().UninstallSurvey();
     FileSystemHelper.GetInstance().CleanUpTempFiles(_tempFilePath);
 }
 public static void CleanUpScenario()
 {
     InstrumentHelper.GetInstance().UninstallSurvey();
 }
        public void GivenTheQuestionnaireIsActive()
        {
            var surveyIsActive = InstrumentHelper.GetInstance().SetSurveyAsActive(60);

            Assert.IsTrue(surveyIsActive);
        }
 public void GivenThereIsAnInstrumentInstalledOnABlaiseEnvironment()
 {
     InstrumentHelper.GetInstance().InstallSurvey();
     Assert.IsTrue(InstrumentHelper.GetInstance().SurveyHasInstalled(60));
 }
        public void ThenTheQuestionnaireIsAvailableToUse()
        {
            var instrumentHasInstalled = InstrumentHelper.GetInstance().SurveyHasInstalled(60);

            Assert.IsTrue(instrumentHasInstalled, "The instrument has not been installed, or is not active");
        }
Exemple #8
0
 public static void CleanUpFeature()
 {
     InstrumentHelper.GetInstance().UninstallSurvey();
 }
 public static void SetupUpFeature()
 {
     InstrumentHelper.GetInstance().InstallSurvey();
 }
 public static void CleanUpScenario()
 {
     CaseHelper.GetInstance().DeleteCases();
     InstrumentHelper.GetInstance().UninstallSurvey();
 }
        public void ThenTheInstrumentIsAvailableToUseInTheBlaiseEnvironment()
        {
            var instrumentHasInstalled = InstrumentHelper.GetInstance().SurveyHasInstalled(60);

            Assert.IsTrue(instrumentHasInstalled, "The instrument has not been installed, or is not active");
        }