Exemple #1
0
        public override void Asserts(EditProjectUITestContext testContext)
        {
            _projectConfigValidation_DevEnv_NotValid_API.Asserts(testContext);

            _editProjectViewStateAsserts.AssertEditProjectViewStateUpdate(GetType().Name, _editProjectViewModel.EditProjectControls, true);
            _editProjectViewStateAsserts.AssertError(
                GetType().Name,
                _editProjectViewModel.NotificationsViewModel.NotificationsViewModelData,
                _editProjectViewModel.EditProjectControls,
                _editProjectViewModel.ProjectConfigErrorMessages,
                new List <string>()
            {
                DBTypeValidator.Name,
                DBNameValidator.Name,
                DBBackupFolderValidator.Name,
                DevScriptsBaseFolderPathValidator.Name,
                DeployArtifactFolderPathValidator.Name,
            }
                );
            _editProjectViewModelAsserts.AssertViewStateHistory(GetType().Name,
                                                                testContext.ViewStatesHistory,
                                                                new List <EditProjectViewStateType>()
            {
                EditProjectViewStateType.InProcess,
                EditProjectViewStateType.InProcess,
                EditProjectViewStateType.Update
            }
                                                                );
        }
Exemple #2
0
        public override void Asserts(EditProjectUITestContext testContext)
        {
            _init_DeliveryEnv_AllProperties_API.Asserts(testContext);

            _editProjectViewStateAsserts.AssertEditProjectViewStateUpdate(GetType().Name, _editProjectViewModel.EditProjectControls, false);

            _editProjectViewStateAsserts.AssertNoErrors(
                this.GetType().Name,
                _editProjectViewModel.NotificationsViewModel.NotificationsViewModelData,
                _editProjectViewModel.EditProjectControls,
                _editProjectViewModel.ProjectConfigErrorMessages);

            _editProjectViewModelAsserts.AssertViewStateHistory(GetType().Name,
                                                                testContext.ViewStatesHistory,
                                                                new List <EditProjectViewStateType>()
            {
                EditProjectViewStateType.InProcess,
                EditProjectViewStateType.InProcess,
                EditProjectViewStateType.Update
            }
                                                                );
        }
        public override void Asserts(EditProjectUITestContext testContext)
        {
            _changeProjectId_API.Asserts(testContext);

            _editProjectViewStateAsserts.AssertEditProjectViewStateUpdate(this.GetType().Name, _editProjectViewModel.EditProjectControls, testContext.ProjectConfig.DevEnvironment);

            _editProjectViewStateAsserts.AssertNoErrors(
                this.GetType().Name,
                _editProjectViewModel.NotificationsViewModel.NotificationsViewModelData,
                _editProjectViewModel.EditProjectControls,
                _editProjectViewModel.ProjectConfigErrorMessages);

            _editProjectViewModelAsserts.AssertViewStateHistory(this.GetType().Name,
                                                                testContext.ViewStatesHistory,
                                                                new List <EditProjectViewStateType>()
            {
                EditProjectViewStateType.EditId,
                EditProjectViewStateType.InProcess,
                EditProjectViewStateType.InProcess,
                EditProjectViewStateType.Update
            }
                                                                );
        }