From 406e6ea1e3c708d5b074fa05a3386bfa3f9f5013 Mon Sep 17 00:00:00 2001 From: Yang Jiao Date: Thu, 6 Jan 2022 13:47:15 +0800 Subject: [PATCH] Update Artifact size cell xpath Signed-off-by: Yang Jiao --- tests/resources/Harbor-Pages/Replication.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/resources/Harbor-Pages/Replication.robot b/tests/resources/Harbor-Pages/Replication.robot index c2f6a425c..52f144668 100644 --- a/tests/resources/Harbor-Pages/Replication.robot +++ b/tests/resources/Harbor-Pages/Replication.robot @@ -274,7 +274,7 @@ Image Should Be Replicated To Project Log To Console Return value is ${out[0]} Continue For Loop If '${out[0]}'=='FAIL' Go Into Repo ${project}/${image} - ${size}= Run Keyword If '${tag}'!='${EMPTY}' and '${expected_image_size_in_regexp}'!='${null}' Get Text //clr-dg-row[contains(., '${tag}')]//clr-dg-cell[4]/div + ${size}= Run Keyword If '${tag}'!='${EMPTY}' and '${expected_image_size_in_regexp}'!='${null}' Get Text //clr-dg-row[contains(., '${tag}')]//clr-dg-cell[5]/div Run Keyword If '${tag}'!='${EMPTY}' and '${expected_image_size_in_regexp}'!='${null}' Should Match Regexp '${size}' '${expected_image_size_in_regexp}' ${index_out} Go Into Index And Contain Artifacts ${tag} total_artifact_count=${total_artifact_count} archive_count=${archive_count} return_immediately=${true} Log All index_out: ${index_out}