From d7b658e3d080f0d8a97b17411a1e85b57b2bf6c9 Mon Sep 17 00:00:00 2001 From: Kan Fu Date: Fri, 1 Dec 2023 18:04:19 -0800 Subject: [PATCH] test: update archivefiles tests for no group users The archivefiles service has been changed to returned different files for no group users and internal users. --- tests/suites/09__archivefiles.robot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/suites/09__archivefiles.robot b/tests/suites/09__archivefiles.robot index a0abc74..b310998 100644 --- a/tests/suites/09__archivefiles.robot +++ b/tests/suites/09__archivefiles.robot @@ -26,11 +26,11 @@ ${onc0} Make ONC with path output/09 1. Get list by location, 1 page ${result}= Run method getListByLocation with filters &{F_LOCATION1} - List ${result}[files] has exactly 15 rows + List ${result}[files] has at least 13 rows 2. Get list by location, 3 pages ${result}= Run method getListByLocation with &{F_LOCATION1} and parameter ${True} - List ${result}[files] has exactly 15 rows + List ${result}[files] has at least 13 rows 3. Get list by location, 1 page, filter by extension ${result}= Run method getListByLocation with filters &{F_LOCATIONFULL} @@ -78,7 +78,7 @@ ${onc0} Make ONC with path output/09 12. Get list by location, 3 pages, return archiveLocations ${result}= Run method getListByLocation with &{F_LOC_RETURN1} and parameter ${True} - List ${result}[files] has exactly 15 rows + List ${result}[files] has at least 13 rows First row in ${result}[files] has key "archiveLocation" 13. Get list by device, 3 pages, filter extension, return all metadata per sample