From 9314559b0405adf467a56b093fed5a7423c6c6bc Mon Sep 17 00:00:00 2001 From: Ronny Gunawan Date: Tue, 9 Jan 2024 16:28:19 +0100 Subject: [PATCH] Update api scripts --- .../Backend/Media/Episode/GetMediaGroupIdEpisodes/Order.wiki | 4 ++-- .../NpoPoms/TestScripts/Api/Frontend/Media/GetMedia/Sort.wiki | 1 + .../Api/Frontend/Media/GetMediaMidRelated/Properties.wiki | 1 + .../Api/Frontend/Profiles/GetProfilesName/Default.wiki | 2 +- .../Api/Frontend/Schedule/GetScheduleAncestorAncestor.wiki | 1 + .../Schedule/GetScheduleBroadcasterBroadcaster/Default.wiki | 2 +- .../GetScheduleBroadcasterBroadcasterNext/Default.wiki | 2 +- .../Schedule/GetScheduleBroadcasterBroadcasterNow.wiki | 1 + .../GetScheduleBroadcasterBroadcasterNow/Default.wiki | 2 +- .../Api/Frontend/Schedule/GetScheduleChannelChannelNow.wiki | 1 + .../Api/Frontend/Schedule/GetScheduleNetNetNow.wiki | 1 + .../Api/Frontend/Thesaurus/GetThesaurusConceptsStatus.wiki | 1 + 12 files changed, 13 insertions(+), 6 deletions(-) diff --git a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Backend/Media/Episode/GetMediaGroupIdEpisodes/Order.wiki b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Backend/Media/Episode/GetMediaGroupIdEpisodes/Order.wiki index 86ac6411..a05e7c04 100644 --- a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Backend/Media/Episode/GetMediaGroupIdEpisodes/Order.wiki +++ b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Backend/Media/Episode/GetMediaGroupIdEpisodes/Order.wiki @@ -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| diff --git a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Media/GetMedia/Sort.wiki b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Media/GetMedia/Sort.wiki index 10bc38e3..12ed5649 100644 --- a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Media/GetMedia/Sort.wiki +++ b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Media/GetMedia/Sort.wiki @@ -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 | diff --git a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Media/GetMediaMidRelated/Properties.wiki b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Media/GetMediaMidRelated/Properties.wiki index 5968e1f1..3d48fd4a 100644 --- a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Media/GetMediaMidRelated/Properties.wiki +++ b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Media/GetMediaMidRelated/Properties.wiki @@ -1,4 +1,5 @@ --- +Prune Test --- !***> Test-specific items diff --git a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Profiles/GetProfilesName/Default.wiki b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Profiles/GetProfilesName/Default.wiki index 444a0bde..07449bd5 100644 --- a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Profiles/GetProfilesName/Default.wiki +++ b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Profiles/GetProfilesName/Default.wiki @@ -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 | diff --git a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleAncestorAncestor.wiki b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleAncestorAncestor.wiki index 2c484d71..695308cb 100644 --- a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleAncestorAncestor.wiki +++ b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleAncestorAncestor.wiki @@ -1,5 +1,6 @@ --- Help: GET /schedule/ancestor/{ancestor} +Prune Suite --- !contents -R2 -g -p -f -h \ No newline at end of file diff --git a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcaster/Default.wiki b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcaster/Default.wiki index 38993104..e90b86d0 100644 --- a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcaster/Default.wiki +++ b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcaster/Default.wiki @@ -4,7 +4,7 @@ Test --- !*> Test-specific items !define broadcaster1 {VPRO} -!define broadcaster2 {NPO} +!define broadcaster2 {EO} *! |script | diff --git a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcasterNext/Default.wiki b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcasterNext/Default.wiki index 71c78630..3b27f44a 100644 --- a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcasterNext/Default.wiki +++ b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcasterNext/Default.wiki @@ -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 diff --git a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcasterNow.wiki b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcasterNow.wiki index c800690e..7dd889c0 100644 --- a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcasterNow.wiki +++ b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcasterNow.wiki @@ -1,5 +1,6 @@ --- Help: GET /schedule/broadcaster/{broadcaster}/now +Prune Suite --- !contents -R2 -g -p -f -h diff --git a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcasterNow/Default.wiki b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcasterNow/Default.wiki index bb5c42a9..eb5ec7cf 100644 --- a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcasterNow/Default.wiki +++ b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleBroadcasterBroadcasterNow/Default.wiki @@ -4,7 +4,7 @@ Suites: NPOAPI-30, RG Test --- !*> Test-specific items -!define broadcaster1 {NPO} +!define broadcaster1 {EO} !define broadcaster2 {NTR} {{{ diff --git a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleChannelChannelNow.wiki b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleChannelChannelNow.wiki index a77058f3..7582c95f 100644 --- a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleChannelChannelNow.wiki +++ b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleChannelChannelNow.wiki @@ -1,5 +1,6 @@ --- Help: GET /schedule/channel/{channel}/now +Prune Suite --- !contents -R2 -g -p -f -h \ No newline at end of file diff --git a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleNetNetNow.wiki b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleNetNetNow.wiki index 2e675ff3..26897c14 100644 --- a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleNetNetNow.wiki +++ b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Schedule/GetScheduleNetNetNow.wiki @@ -1,5 +1,6 @@ --- Help: GET /schedule/net/{net}/now +Prune Suite --- !contents -R2 -g -p -f -h \ No newline at end of file diff --git a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Thesaurus/GetThesaurusConceptsStatus.wiki b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Thesaurus/GetThesaurusConceptsStatus.wiki index df972a81..bcc9bd87 100644 --- a/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Thesaurus/GetThesaurusConceptsStatus.wiki +++ b/wiki/FitNesseRoot/NpoPoms/TestScripts/Api/Frontend/Thesaurus/GetThesaurusConceptsStatus.wiki @@ -1,5 +1,6 @@ --- Help: GET /thesaurus/concepts/status +Prune Suite --- !contents -R2 -g -p -f -h