From 55e868bd9f62c3b85957335a85a40be8f0f895d4 Mon Sep 17 00:00:00 2001 From: FangyuanCheng Date: Mon, 7 Jan 2019 16:51:31 +0800 Subject: [PATCH] fix test case for project link Signed-off-by: FangyuanCheng --- tests/resources/Harbor-Pages/Project_Elements.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/resources/Harbor-Pages/Project_Elements.robot b/tests/resources/Harbor-Pages/Project_Elements.robot index 0ed2c7b9b..276ca1cfa 100644 --- a/tests/resources/Harbor-Pages/Project_Elements.robot +++ b/tests/resources/Harbor-Pages/Project_Elements.robot @@ -20,8 +20,8 @@ ${create_project_button_css} .btn ${project_name_xpath} //*[@id="create_project_name"] ${project_public_xpath} //input[@name='public']/..//label ${project_save_css} html body.no-scrolling harbor-app harbor-shell clr-main-container.main-container div.content-container div.content-area.content-area-override project div.row div.col-lg-12.col-md-12.col-sm-12.col-xs-12 div.row.flex-items-xs-between div.option-left create-project clr-modal div.modal div.modal-dialog div.modal-content div.modal-footer button.btn.btn-primary -${log_xpath} //clr-main-container/div/clr-vertical-nav/div/a[contains(.,'Logs')] -${projects_xpath} //clr-main-container/div/clr-vertical-nav/div/a[contains(.,'Projects')] +${log_xpath} //clr-main-container//clr-vertical-nav//a[contains(.,'Logs')] +${projects_xpath} //clr-main-container//clr-vertical-nav//a[contains(.,'Projects')] ${project_replication_xpath} //project-detail//a[contains(.,'Replication')] ${project_log_xpath} //project-detail//li[contains(.,'Logs')] ${project_member_xpath} //project-detail//li[contains(.,'Members')]