mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Another try to fix flakey tool form Selenium test.
This commit is contained in:
@@ -471,9 +471,6 @@ class NavigatesGalaxy(HasDriver):
|
||||
|
||||
self.upload_queue_local_file(test_path)
|
||||
|
||||
# Having some problems with extension not being set properly.
|
||||
self.sleep_for(WAIT_TYPES.UX_RENDER)
|
||||
|
||||
if ext is not None:
|
||||
self.wait_for_selector_visible('.upload-extension')
|
||||
self.select2_set_value(".upload-extension", ext)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from base.populators import flakey
|
||||
from galaxy_selenium.navigates_galaxy import retry_call_during_transitions
|
||||
|
||||
from .framework import (
|
||||
@@ -84,13 +85,16 @@ class ToolFormTestCase(SeleniumTestCase, UsesHistoryItemAssertions):
|
||||
self.history_panel_wait_for_hid_ok(2)
|
||||
self._check_dataset_details_for_inttest_value(2)
|
||||
|
||||
@flakey
|
||||
@selenium_test
|
||||
def test_run_data(self):
|
||||
test_path = self.get_filename("1.fasta")
|
||||
test_path_decoy = self.get_filename("1.txt")
|
||||
# Upload form posts bad data if executed two times in a row like this, so
|
||||
# wait between uploads. xref https://github.com/galaxyproject/galaxy/issues/5169
|
||||
self.perform_upload(test_path)
|
||||
self.perform_upload(test_path_decoy)
|
||||
self.history_panel_wait_for_hid_ok(1)
|
||||
self.perform_upload(test_path_decoy)
|
||||
self.history_panel_wait_for_hid_ok(2)
|
||||
|
||||
self.home()
|
||||
|
||||
Reference in New Issue
Block a user