Add configurable UPC and RA setup flows
This commit is contained in:
@@ -5,7 +5,7 @@ from selenium.webdriver.support.ui import WebDriverWait
|
||||
import pytest
|
||||
|
||||
from tests.step_actions import StepActions
|
||||
from tests.helpers import login, select_ui_dropdown
|
||||
from tests.helpers import login, select_ui_dropdown, open_trading_maintenance_page
|
||||
from tests.config_reader import get_setup_configs
|
||||
from tests.locators import Locator
|
||||
|
||||
@@ -24,9 +24,8 @@ def get_session_window(config):
|
||||
|
||||
def create_session(driver, step, config):
|
||||
|
||||
step.click((By.XPATH, Locator.tradingmaintenance), "trading_maintenance")
|
||||
|
||||
step.click((By.XPATH, Locator.tradingsession), "trading_session")
|
||||
open_trading_maintenance_page(driver, Locator.tradingsession)
|
||||
step.capture("trading_session")
|
||||
|
||||
step.click((By.XPATH, Locator.addsessionbtn), "add_session")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user