Skip to content

Commit

Permalink
debug: Adjust queries
Browse files Browse the repository at this point in the history
  • Loading branch information
clepski committed Sep 26, 2024
1 parent f1d501b commit 798d8fa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions integration-testing/include/general-openscd.robot
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ Resource ./general-config.robot

*** Variables ***
# Variables of Selectors commonly used.
${base-selector} document.querySelector('open-scd').shadowRoot.querySelector('compas-layout').shadowRoot
${menu-selector} ${base-selector}.querySelector(mwc-drawer[id='menu'])
${menu-button} ${base-selector}.querySelector(mwc-icon-button [label='Menu'])
${menu-selector} mwc-drawer[id='menu']
${menu-button} mwc-icon-button[label="Menu"]
${nav-selector} mwc-top-app-bar-fixed
${dialog-selector} wizard-dialog
${substation-editor-selector} substation-editor:first-child > action-pane
Expand Down Expand Up @@ -44,7 +43,7 @@ Check Browser Title

Open Menu
[Arguments] ${menuItemTitle}
Click mwc-icon-button[label="Menu"] > button
Click ${menu-button} > button
Click ${menu-selector} mwc-list > mwc-list-item >> span:text-is("${menuItemTitle}")

Open Navigation Menu
Expand Down

0 comments on commit 798d8fa

Please sign in to comment.