BK
Size: a a a
BK
IS
IS
IS
IS
IS
IS
BK
REMASTERED_URL: str = REMASTERED_URL
CUSTOMER_DASHBOARD_URL: str = CUSTOMER_DASHBOARD_URL
PM_URL: str = PM_URL
BK
BK
IS
IS
T
BK
часть 1BK
NV
pytest —server=beta
NV
setattr(driver, "url", «твой результату фикстуры» )
NV
АК
@pytest.fixture
def sign_in_as_super_admin(set_config):
from pages.amd_dashboard.sign_in import LoginPage as AmdUser
url = {'beta': ADM_URL, 'alpha': AMD_URL_ALPHA}
navigate_to(url[set_config.env])
AmdUser().login_action(login=AMD_USER, password=AMD_PASSWORD)BK