mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 15:37:32 +08:00
add screenshot decorators
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import os
|
||||
import pytest
|
||||
|
||||
from selenium.webdriver.common.keys import Keys
|
||||
|
||||
@@ -110,6 +111,7 @@ class UploadsTestCase(SeleniumTestCase, UsesHistoryItemAssertions):
|
||||
self.history_panel_wait_for_hid_hidden(2)
|
||||
|
||||
@selenium_test
|
||||
@pytest.mark.local_screenshotting
|
||||
def test_rules_example_1_datasets(self):
|
||||
# Test case generated for:
|
||||
# https://www.ebi.ac.uk/ena/data/view/PRJDA60709
|
||||
@@ -148,6 +150,7 @@ PRJDA60709 SAMD00016382 DRX000480 ftp.sra.ebi.ac.uk/vol1/fastq/DRR000/DRR0
|
||||
# self.screenshot("rules_example_1_6_download_complete")
|
||||
|
||||
@selenium_test
|
||||
@pytest.mark.local_screenshotting
|
||||
def test_rules_example_2_list(self):
|
||||
self.perform_upload(self.get_filename("rules/PRJDA60709.tsv"))
|
||||
self.history_panel_wait_for_hid_ok(1)
|
||||
@@ -173,6 +176,7 @@ PRJDA60709 SAMD00016382 DRX000480 ftp.sra.ebi.ac.uk/vol1/fastq/DRR000/DRR0
|
||||
# self.screenshot("rules_example_2_5_download_complete")
|
||||
|
||||
@selenium_test
|
||||
@pytest.mark.local_screenshotting
|
||||
def test_rules_example_3_list_pairs(self):
|
||||
self.perform_upload(self.get_filename("rules/PRJDB3920.tsv"))
|
||||
self.history_panel_wait_for_hid_ok(1)
|
||||
|
||||
@@ -6,3 +6,4 @@ python_paths = lib
|
||||
markers =
|
||||
data_manager: marks test as a data_manager test
|
||||
tool: marks test as a tool test
|
||||
screenshot: marks test as a screenshot producer
|
||||
|
||||
Reference in New Issue
Block a user