ci-tests-frontend-e2e-fix
Some checks failed
Deploy on push / deploy (push) Has been cancelled

This commit is contained in:
2025-08-12 14:45:59 +03:00
parent ba2cbe25d2
commit 81b2ec41fa
8 changed files with 88 additions and 66 deletions

View File

@@ -1,5 +1,6 @@
import pytest
PORT = 8000
@pytest.fixture
def oauth_settings() -> dict[str, dict[str, str]]:
@@ -14,7 +15,7 @@ def oauth_settings() -> dict[str, dict[str, str]]:
@pytest.fixture
def frontend_url() -> str:
"""URL фронтенда для тестов"""
return "https://localhost:3000"
return f"https://localhost:{PORT}"
@pytest.fixture(autouse=True)

View File

@@ -1,7 +1,5 @@
"""Тестовые настройки для OAuth"""
FRONTEND_URL = "https://localhost:3000"
OAUTH_CLIENTS = {
"GOOGLE": {"id": "test_google_id", "key": "test_google_secret"},
"GITHUB": {"id": "test_github_id", "key": "test_github_secret"},