public void ValidLoginAmbassador() { HomeActions.NavigateToLoginForm(); LoginActions.FillLoginForm(Data.Credentials.Valid.EmailAmbassador, Data.Credentials.Valid.PasswordAmbassador); Assert.Multiple(() => { Assert.AreEqual(Data.Credentials.Valid.EmailAmbassador, UserPanelActions.GetUserEmail()); Assert.That(UserPanelActions.isStatisticsSectionDisplayed()); }); }
public void ValidLoginRequester() { HomeActions.NavigateToLoginForm(); LoginActions.FillLoginForm(Data.Credentials.Valid.EmailRequester, Data.Credentials.Valid.PasswordRequester); Assert.Multiple(() => { Assert.AreEqual(Data.Credentials.Valid.EmailRequester, UserPanelActions.GetUserEmail()); Assert.That(UserPanelActions.isBtnNewRequestDisplayed()); }); }
public void RequestWithDesign(string selectArm, string selectAmp, string selectColor) { string Comments; HomeActions.NavigateToLoginForm(); LoginActions.FillLoginForm(Data.Credentials.Valid.EmailRequester, Data.Credentials.Valid.PasswordRequester); UserPanelActions.ClickOnNewRequestButton(); Comments = NewRequestActions.NewRequestWithDesign(selectArm, selectAmp, selectColor); UserPanelActions.NavigateToLastRequest(); Assert.AreEqual(ViewRequestActions.GetComments(), Comments); }
public void RequestWithoutDesign(string selectArm, string selectAmp) { string Comments; HomeActions.NavigateToLoginForm(); LoginActions.FillLoginForm(Data.Credentials.Valid.EmailRequester, Data.Credentials.Valid.PasswordRequester); UserPanelActions.ClickOnNewRequestButton(); Comments = NewRequestActions.NewRequestWithoutDesign(selectArm, selectAmp); UserPanelActions.NavigateToLastRequest(); Assert.Multiple(() => { Assert.AreEqual(ViewRequestActions.GetComments(), Comments); Assert.That(ViewRequestActions.IsNoDesignTextDisplayed); }); }