public void coordinator_can_see_create_confirmation_stage_agreement_page() { LoginPage.GoTo(); LoginPage.LoginAs(CoordonatorUsername, CoordonatorPassword); CreateStageAgreementCoordinatorPage.GoTo(); CreateStageAgreementCoordinatorPage.IsDisplayed.Should().BeTrue(); }
public void user_can_sign_stage_agreement() { const string SIGNATURE = "test4test1"; LoginPage.GoTo(); LoginPage.LoginAs(CoordonatorUsername, CoordonatorPassword); CreateStageAgreementCoordinatorPage.GoTo(); EditStageAgreementPage.GoByUrl(); EditStageAgreementPage.EditAStageAgreement(SIGNATURE); IndexCoordinatorPage.IsDisplayed.Should().BeTrue(); }
public void user_can_not_see_create_stage_agreement_page_if_not_coordinator() { CreateStageAgreementCoordinatorPage.GoToByUrl(); LoginPage.IsDisplayed.Should().BeTrue(); }