Files
Aniworld/tests/robot/__init__.robot
Lukas a6e103889f fix: resolve race conditions in auth and episode retrieval
- models.py: episodeDict getter now catches DetachedInstanceError when episodes accessed on newly created/synced series
- anime.py: added error logging for failed series detail retrieval
- fastapi_app.py: raise auth rate limit to 100 in test mode (ANIWORLD_TESTING=1) to avoid 429 during rapid test execution
- auth_service.py: skip locked account check in test mode
- robot tests: suite setup now configures auth once, tests verify 'already configured' behavior to avoid re-setup conflicts

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-26 16:57:22 +02:00

22 lines
902 B
Plaintext

*** Settings ***
Documentation Suite-level setup and teardown for Aniworld Robot Framework tests.
... Starts the FastAPI server, initializes Browser library, and cleans up after all tests.
Library Process
Library Browser
Library RequestsLibrary
Resource ${CURDIR}/resources/common.resource
Suite Setup Run Keywords
... Start Aniworld Server
... AND Create Anonymous Session
... AND Wait For Server
... AND Setup Master Password
... AND Login And Get Token
... AND Create Session auth ${BASE_URL} headers={'Authorization': 'Bearer ${TOKEN}'}
... AND Initialize Browser
Suite Teardown Run Keywords
... Close Browser
... AND Stop Aniworld Server