Add test anime folders for unresolved folder API tests. Update test data from 'SomeFolder' to 'Unknown Anime (2020)'. Remove stale Task 16 notes from Docs/tasks.md. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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 Unknown Anime (2020)
|
|
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 Unknown Anime (2020) attack-on-titan
|
|
Response Should Have Status ${resp} 200
|
|
Response Should Be Valid JSON ${resp}
|