diff --git a/data/environment.py b/data/environment.py index 443b759..9198990 100644 --- a/data/environment.py +++ b/data/environment.py @@ -20,8 +20,8 @@ class Environment: DEVELOP: str = 'develop' URLS: Dict[str, str] = { - TEST: 'http://192.168.2.76/', - DEVELOP: 'http://192.168.2.69/' + TEST: 'https://192.168.2.76/', + DEVELOP: 'https://192.168.2.69/' } def __init__(self) -> None: diff --git a/fixtures/pages.py b/fixtures/pages.py index cf7d4e8..539b3d7 100644 --- a/fixtures/pages.py +++ b/fixtures/pages.py @@ -164,6 +164,7 @@ def get_context(browser: Browser, request: FixtureRequest, start: str) -> Browse context = browser.new_context( # no_viewport=True, + ignore_https_errors=True, viewport= ast.literal_eval(request.config.getoption('--s')), locale=request.config.getoption('l') )