fix test: use pending_count instead of pending in queue status assertions

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-06-26 18:02:12 +02:00
parent 8fb24ff46a
commit 881da35dfd
2 changed files with 2 additions and 10 deletions

View File

@@ -21,7 +21,7 @@ Get Empty Queue Status
${resp}= Get Queue Status
Response Should Have Status ${resp} 200
Response Should Contain Keys ${resp} status statistics
${pending}= Get JSON Value ${resp} $.statistics.pending
${pending}= Get JSON Value ${resp} $.statistics.pending_count
Should Be Equal As Integers ${pending} 0
# ---------------------------------------------------------------------------
@@ -139,7 +139,7 @@ Queue Statistics Accuracy
Add To Queue ${payload}
${resp}= Get Queue Status
Response Should Have Status ${resp} 200
${pending}= Get JSON Value ${resp} $.statistics.pending
${pending}= Get JSON Value ${resp} $.statistics.pending_count
Should Be Equal As Integers ${pending} 2
${total}= Get JSON Value ${resp} $.statistics.total
Should Be Equal As Integers ${total} 2