This commit is contained in:
2026-06-21 12:32:44 +02:00
parent 107158eb04
commit be3e180137
27 changed files with 5037 additions and 20 deletions

View File

@@ -0,0 +1,35 @@
*** Settings ***
Documentation Setup (unresolved folders) API tests for Aniworld.
... Covers listing unresolved folders, getting details, and resolving.
Resource ${CURDIR}/../resources/common.resource
Resource ${CURDIR}/../resources/api_keywords.resource
Test Setup Run Keywords
... Create Anonymous Session
... AND Setup Master Password
... AND Create Authenticated Session
Test Teardown Delete All Sessions
*** Test Cases ***
# ---------------------------------------------------------------------------
# Unresolved Folders
# ---------------------------------------------------------------------------
List Unresolved Folders
[Documentation] List all unresolved folders in the anime directory.
${resp}= Get Unresolved Folders
Response Should Have Status ${resp} 200
Response Should Be Valid JSON ${resp}
Get Unresolved Folder Details
[Documentation] Get details for a specific unresolved folder.
${resp}= Get Unresolved Folder Details SomeFolder
Response Should Have Status ${resp} 200
Response Should Be Valid JSON ${resp}
Resolve Folder With Provider Key
[Documentation] Resolve an unresolved folder by mapping it to a provider key.
${resp}= Resolve Folder SomeFolder attack-on-titan
Response Should Have Status ${resp} 200
Response Should Be Valid JSON ${resp}