backup
This commit is contained in:
35
tests/robot/api/setup.robot
Normal file
35
tests/robot/api/setup.robot
Normal 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}
|
||||
Reference in New Issue
Block a user