36 lines
1.5 KiB
Plaintext
36 lines
1.5 KiB
Plaintext
*** 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}
|