Warning
This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
Source code for galaxy_test.selenium.test_stock_tours
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")
[docs]class TestStockToursTestCase(SeleniumTestCase):
[docs] @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,
tour_callback=TourCallback(self),
)
[docs] @selenium_test
def test_core_windows(self):
self.run_tour(
os.path.join(STOCK_TOURS_DIRECTORY, "core.windows.yaml"),
tour_callback=TourCallback(self),
)
[docs] @selenium_test
def test_core_history(self):
self.run_tour(
os.path.join(STOCK_TOURS_DIRECTORY, "core.history.yaml"),
tour_callback=TourCallback(self),
)
[docs] @selenium_test
def test_core_deferred(self):
self.run_tour(
os.path.join(STOCK_TOURS_DIRECTORY, "core.deferred.yaml"),
tour_callback=TourCallback(self),
)