Exemplo n.º 1
0
        public void coordinator_invite_should_create_an_invitation()
        {
            const string EMAIL = "*****@*****.**";
            const string TEXT  = "Tremblay";

            LoginPage.GoTo();
            LoginPage.LoginAs(CoordonatorUsername, CoordonatorPassword);
            InviteCoordinatorPage.GoTo();

            InviteCoordinatorPage.SendInvitation(EMAIL, TEXT);

            InviteCoordinatorPage.ConfirmationInvitationIsDisplayed.Should().BeTrue();
        }
Exemplo n.º 2
0
        public void coordinator_not_should_be_able_to_send_invitation_if_not_logged_in()
        {
            InviteCoordinatorPage.GoToByUrl();

            LoginPage.IsDisplayed.Should().BeTrue();
        }