def test_click_all_buttons(self): driver = self.driver driver.get(Locators.url) page = SummerNote(driver) page.click_all_buttons()
def test_select_All(self): driver = self.driver driver.get(Locators.url) page = SummerNote(driver) page.select_All()
def test_resizeUp(self): driver = self.driver driver.get(Locators.url) page = SummerNote(driver) page.resizeUp()
def test_make_underline_bold(self): driver = self.driver driver.get(Locators.url) page = SummerNote(driver) page.select_All() page.click_button(Locators.underLine_button) page.click_button(Locators.bold_button) self.assertTrue(page.is_text_formated(Locators.is_underline_bold))
def test_make_table(self): driver = self.driver driver.get(Locators.url) page = SummerNote(driver) page.delete_All() page.make_table(5, 5)
def test_write_line(self): driver = self.driver driver.get(Locators.url) page = SummerNote(driver) page.delete_All() page.write_line()