mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
38 lines
986 B
Python
38 lines
986 B
Python
import os
|
|
|
|
from galaxy.util import galaxy_root_path
|
|
from .framework import (
|
|
selenium_test,
|
|
SeleniumTestCase,
|
|
TIMEOUT_MULTIPLIER,
|
|
)
|
|
|
|
STOCK_TOURS_DIRECTORY = os.path.join(galaxy_root_path, "config", "plugins", "tours")
|
|
|
|
|
|
class TestStockToursTestCase(SeleniumTestCase):
|
|
|
|
@selenium_test
|
|
def test_core_galaxy_ui(self):
|
|
sleep_on_steps = {
|
|
"Tools": 20 * TIMEOUT_MULTIPLIER,
|
|
"Select a tool": 2 * TIMEOUT_MULTIPLIER,
|
|
"History": 20 * TIMEOUT_MULTIPLIER,
|
|
}
|
|
self.run_tour(
|
|
os.path.join(STOCK_TOURS_DIRECTORY, "core.galaxy_ui.yaml"),
|
|
sleep_on_steps=sleep_on_steps
|
|
)
|
|
|
|
@selenium_test
|
|
def test_core_scratchbook(self):
|
|
self.run_tour(
|
|
os.path.join(STOCK_TOURS_DIRECTORY, "core.scratchbook.yaml"),
|
|
)
|
|
|
|
@selenium_test
|
|
def test_core_history(self):
|
|
self.run_tour(
|
|
os.path.join(STOCK_TOURS_DIRECTORY, "core.history.yaml"),
|
|
)
|