Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Tests;
- import static org.junit.Assert.assertTrue;
- import org.junit.Test;
- import Pages.LoginPage;
- import Pages.NewMessagePage;
- import Util.AbstractDriver;
- import Util.ServerMock;
- public class testEM12PesquisarDestinatario extends AbstractDriver {
- @Override
- public void setUp() throws Exception {
- super.setUp();
- ServerMock.loginAsStudent();
- ServerMock.messagesList();
- ServerMock.relationships();
- }
- @Test
- public void test() throws Exception {
- NewMessagePage page = new LoginPage(driver)
- .loginAs("danillos@gmail.com", "123456")
- .swipeInMenu()
- .clickEduMailOption()
- .clickComposeNewMessage()
- .typeRecipient("d");
- assertTrue("O foco deve ester no campo Para", page.isElementDisplayed(NewMessagePage.autocompleteRecipientsLocator));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement