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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user