test: Remove duplicated/interactive testing fixtures

All integration tests now run without interactive browser usage, simplifying CI and testing infrastructure
This commit is contained in:
Chris Coutinho
2025-10-16 19:46:29 +02:00
parent e0a68d47a5
commit 51d1f075f5
5 changed files with 28 additions and 285 deletions
+3 -3
View File
@@ -19,14 +19,14 @@ async def test_playwright_oauth_token_acquisition(playwright_oauth_token: str):
)
async def test_oauth_client_with_playwright_flow(nc_oauth_client_playwright):
async def test_oauth_client_with_playwright_flow(nc_oauth_client):
"""Test that OAuth client created via Playwright flow can access Nextcloud APIs."""
# Test 1: Check capabilities
capabilities = await nc_oauth_client_playwright.capabilities()
capabilities = await nc_oauth_client.capabilities()
assert capabilities is not None
logger.info("OAuth client (Playwright) successfully fetched capabilities")
# Test 2: List notes
notes = await nc_oauth_client_playwright.notes.get_all_notes()
notes = await nc_oauth_client.notes.get_all_notes()
assert isinstance(notes, list)
logger.info(f"OAuth client (Playwright) successfully listed {len(notes)} notes")