mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-19 02:21:32 +08:00
Fix page pdf export test case
This commit is contained in:
@@ -16,10 +16,8 @@ class TestPagesPdfExportSeleniumIntegration(SeleniumIntegrationTestCase):
|
||||
def test_page_pdf_export(self):
|
||||
self.navigate_to_pages()
|
||||
self.screenshot("pages_grid")
|
||||
self.create_page()
|
||||
self.components.pages.drop.wait_for_and_click()
|
||||
self.sleep_for(self.wait_types.UX_RENDER)
|
||||
self.components.pages.drop_edit.wait_for_and_click()
|
||||
page_name = self.create_page()
|
||||
self.select_grid_operation(page_name, "Edit content")
|
||||
self.components.pages.editor.markdown_editor.wait_for_and_send_keys("moo\n\n\ncow\n\n")
|
||||
self.screenshot("pages_markdown_editor")
|
||||
self.sleep_for(self.wait_types.UX_RENDER)
|
||||
@@ -28,9 +26,7 @@ class TestPagesPdfExportSeleniumIntegration(SeleniumIntegrationTestCase):
|
||||
self.screenshot("pages_markdown_editor_saved")
|
||||
self.sleep_for(self.wait_types.UX_RENDER)
|
||||
self.navigate_to_pages()
|
||||
self.components.pages.drop.wait_for_and_click()
|
||||
self.sleep_for(self.wait_types.UX_RENDER)
|
||||
self.components.pages.drop_view.wait_for_and_click()
|
||||
self.select_grid_operation(page_name, "View")
|
||||
self.screenshot("pages_view_simple")
|
||||
self.components.pages.export.wait_for_and_click()
|
||||
self.sleep_for(self.wait_types.UX_RENDER)
|
||||
|
||||
Reference in New Issue
Block a user