Временный фикс проблемы перехода на https версию приложения
parent
5f21e197f6
commit
2ae53e3e2e
|
|
@ -20,8 +20,8 @@ class Environment:
|
||||||
DEVELOP: str = 'develop'
|
DEVELOP: str = 'develop'
|
||||||
|
|
||||||
URLS: Dict[str, str] = {
|
URLS: Dict[str, str] = {
|
||||||
TEST: 'http://192.168.2.76/',
|
TEST: 'https://192.168.2.76/',
|
||||||
DEVELOP: 'http://192.168.2.69/'
|
DEVELOP: 'https://192.168.2.69/'
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
|
|
|
||||||
|
|
@ -164,6 +164,7 @@ def get_context(browser: Browser, request: FixtureRequest, start: str) -> Browse
|
||||||
|
|
||||||
context = browser.new_context(
|
context = browser.new_context(
|
||||||
# no_viewport=True,
|
# no_viewport=True,
|
||||||
|
ignore_https_errors=True,
|
||||||
viewport= ast.literal_eval(request.config.getoption('--s')),
|
viewport= ast.literal_eval(request.config.getoption('--s')),
|
||||||
locale=request.config.getoption('l')
|
locale=request.config.getoption('l')
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue