def test_move_to(self):
        inbox_page = InboxPage(self.driver)
        inbox_page.folders.get_sent_inbox()
        sent_page = SentPage(self.driver)
        sent_page.open_letter('1')

        letter_page = LetterPage(self.driver)
        letter_page.letter_toolbar.archive()
        inbox_page.folders.get_archive_inbox()
        is_letter_present = inbox_page.have_letter('1')
        sent_page.clear_box(self.driver)
        MovingCommon.clear_inbox(self.driver)
        self.assertEquals(is_letter_present, True)
 def fill_sent_box(driver):
     inbox_page = InboxPage(driver)
     inbox_page.send_letter('1')
Exemplo n.º 3
0
 def fill_sent_box(driver):
     inbox_page = InboxPage(driver)
     inbox_page.send_letter('1', email_to=USER_EMAIL)