Skip to content

Commit

Permalink
Update zed_root_menus_steps.robot
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonShopin committed Jan 9, 2025
1 parent 3836ba5 commit 8241d7f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions resources/steps/zed_root_menus_steps.robot
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Zed: verify first navigation root menus
Log ${counter}
Click xpath=(//ul[@id='side-menu']/li/a/span[@class='nav-label']/../../a[contains(@href,'/') and not (contains(@href,'javascript'))])[${counter}]
Repeat Keyword 2 Wait For Load State
Wait For Load State networkidle
TRY
${app_terms_overlay_state}= Page Should Contain Element xpath=//app-terms-and-conditions-dialog/ancestor::div[contains(@class,'overlay-container')] message=Overlay is not displayed timeout=1s
Remove element from HTML with JavaScript //app-terms-and-conditions-dialog/ancestor::div[contains(@class,'overlay-container')]
Expand Down Expand Up @@ -46,11 +45,9 @@ Zed: verify second navigation root menus
IF 'active' not in '${node_state}'
Click Element by xpath with JavaScript (//ul[@id='side-menu']/li/a/span[@class='nav-label']/../../a[contains(@href,'javascript')])[${counter}]
Repeat Keyword 3 Wait For Load State
Wait For Load State networkidle
END
Click Element by xpath with JavaScript ((//ul[@id='side-menu']/li/a/span[@class='nav-label']/../../a[contains(@href,'javascript')])[${counter}]/ancestor::li//ul[contains(@class,'nav-second-level')]//a)[${counter_1}]
Repeat Keyword 3 Wait For Load State
Wait For Load State networkidle
Wait Until Element Is Visible ${zed_log_out_button} timeout=${browser_timeout}
Log ${counter_1}
${counter_1}= Evaluate ${counter_1} + 1
Expand Down

0 comments on commit 8241d7f

Please sign in to comment.