예제 #1
0
 @Step
 public void writeEmail(String subject) {
   dictionaryPage.enterToEmailBox();
   dictionaryPage.writeNewEmail();
   dictionaryPage.writeTo();
   dictionaryPage.writeSubject(subject);
 }
예제 #2
0
 @Step
 public void should_see_subject_and_exit(String subject) {
   dictionaryPage.openDraftFolder();
   boolean isFound = false;
   if (dictionaryPage.getTitleOfEmail().equals(subject)) {
     isFound = true;
   }
   assertThat(isFound);
   dictionaryPage.quitFromMailBox();
 }
예제 #3
0
 @Step
 public void should_see_loggedUser(String loggedUsedName) {
   boolean isFound = false;
   if (dictionaryPage.getLoggedUserName().equals(loggedUsedName)) {
     isFound = true;
   }
   assertThat(isFound);
 }
예제 #4
0
 @Step
 public void saveDraftEmail(String body) {
   dictionaryPage.writeBody(body);
   dictionaryPage.openDraftFolder();
   dictionaryPage.saveEmailToDraft();
 }
예제 #5
0
 @Step
 public void is_the_home_page() {
   dictionaryPage.open();
 }
예제 #6
0
 @Step
 public void click_buttonLogin() {
   dictionaryPage.click_button();
 }
예제 #7
0
 @Step
 public void enter_password(String keyword) {
   dictionaryPage.enter_psw(keyword);
 }
예제 #8
0
 @Step
 public void enter_login(String keyword) {
   dictionaryPage.enter_lg(keyword);
 }