예제 #1
0
    def test_click_all_buttons(self):

        driver = self.driver
        driver.get(Locators.url)

        page = SummerNote(driver)
        page.click_all_buttons()
예제 #2
0
    def test_select_All(self):

        driver = self.driver
        driver.get(Locators.url)

        page = SummerNote(driver)
        page.select_All()
예제 #3
0
    def test_resizeUp(self):

        driver = self.driver
        driver.get(Locators.url)

        page = SummerNote(driver)
        page.resizeUp()
예제 #4
0
    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))
예제 #5
0
    def test_make_table(self):

        driver = self.driver
        driver.get(Locators.url)

        page = SummerNote(driver)
        page.delete_All()
        page.make_table(5, 5)
예제 #6
0
    def test_write_line(self):

        driver = self.driver
        driver.get(Locators.url)

        page = SummerNote(driver)
        page.delete_All()
        page.write_line()