diff --git a/tests/resources/Harbor-Pages/Project.robot b/tests/resources/Harbor-Pages/Project.robot index 0d5b6b78a..84338fae7 100644 --- a/tests/resources/Harbor-Pages/Project.robot +++ b/tests/resources/Harbor-Pages/Project.robot @@ -105,11 +105,10 @@ Make Project Public Delete Repo [Arguments] ${projectname} Click Element xpath=//clr-dg-row[contains(.,"${projectname}")]//clr-checkbox//label - Sleep 1 + Wait Until Element Is Enabled //button[contains(.,"Delete")] Click Element xpath=//button[contains(.,"Delete")] - Sleep 1 + Wait Until Element Is Visible //clr-modal//button[2] Click Element xpath=//clr-modal//button[2] - Sleep 1 Delete Repo on CardView [Arguments] ${reponame}