Skip to content

Commit

Permalink
Update api scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnygun committed Jan 9, 2024
1 parent e4755d5 commit 9314559
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ Test
|script |
|get from|${urlBackendApi}/media/group/${mid}/episodes?owner=BROADCASTER |
|check |xPath|count(/update:list/update:item) |10 |
|check |xPath|/update:list/@totalCount |12 |
|check |xPath|/update:list/@totalCount |10 |
|get from|${urlBackendApi}/media/group/${mid}/episodes?order=ASC&owner=BROADCASTER |
|check |xPath|/update:list/update:item/@position |null |
|check |xPath|/update:list/update:item/update:mediaUpdate/@mid|REG_GELD_4527129 |
|get from|${urlBackendApi}/media/group/${mid}/episodes?order=DESC&owner=BROADCASTER|
|check |xPath|/update:list/update:item/@position |null |
|check |xPath|/update:list/update:item/update:mediaUpdate/@mid|REG_GELD_528982913|
|check |xPath|/update:list/update:item/update:mediaUpdate/@mid|REG_GELD_528972913|
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
Help: De items in de response van GET /media kunnen gesorteerd worden op titel met de parameter 'sort'.
Prune
Test
---
|script |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
Prune
Test
---
!***> Test-specific items
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Test
*!
|script |
|get from|${urlFrontendApi}/profiles/vpro |
|check |xPath |//page:filter/page:portal |VPRONL |
|check |xPath |//page:filter/page:portal |null |
|check |xPath |//m:filter/m:and/m:broadcaster |VPRO |
|check |xPath |//m:filter/m:and/m:not/m:descendantOf |POMS_S_VPRO_3711853|
|check |xPath |boolean(//m:filter/m:and/m:or/m:not/m:isExclusive) |true |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
Help: GET /schedule/ancestor/{ancestor}
Prune
Suite
---
!contents -R2 -g -p -f -h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Test
---
!*> Test-specific items
!define broadcaster1 {VPRO}
!define broadcaster2 {NPO}
!define broadcaster2 {EO}
*!
|script |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Test
---
!*> Test-specific items
!define broadcaster1 {VPRO}
!define broadcaster2 {NPO}
!define broadcaster2 {EO}

{{{
!note Sometimes the requested broadcaster is not the primary broadcaster of the upcoming item and is therefore not listed in the result
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
Help: GET /schedule/broadcaster/{broadcaster}/now
Prune
Suite
---
!contents -R2 -g -p -f -h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Suites: NPOAPI-30, RG
Test
---
!*> Test-specific items
!define broadcaster1 {NPO}
!define broadcaster1 {EO}
!define broadcaster2 {NTR}

{{{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
Help: GET /schedule/channel/{channel}/now
Prune
Suite
---
!contents -R2 -g -p -f -h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
Help: GET /schedule/net/{net}/now
Prune
Suite
---
!contents -R2 -g -p -f -h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
Help: GET /thesaurus/concepts/status
Prune
Suite
---
!contents -R2 -g -p -f -h

0 comments on commit 9314559

Please sign in to comment.