Skip to content

Commit

Permalink
xpath for unique id of Delete button
Browse files Browse the repository at this point in the history
Also try again files needed for Browser Library Webkit
  • Loading branch information
damies13 committed Mar 23, 2024
1 parent 84e4217 commit b546df7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/Regression_Tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
run: |
sudo apt install -y scrot fluxbox
# files needed for Browser Library Webkit
sudo apt install -y gstreamer1.0-libav libnss3-tools libatk-bridge2.0-0 libcups2-dev libxkbcommon-x11-0 libxcomposite-dev libxrandr2 libgbm-dev libgtk-3-0
# sudo apt install -y gstreamer1.0-libav libnss3-tools libatk-bridge2.0-0 libcups2-dev libxkbcommon-x11-0 libxcomposite-dev libxrandr2 libgbm-dev libgtk-3-0
sudo apt install libgtk-3-0 libnss3 libasound2 libgbm-dev
sudo apt list --installed
- name: "Ubuntu Xvfb"
if: ${{ matrix.platform == 'ubuntu-latest' }}
Expand Down
2 changes: 1 addition & 1 deletion Regression_Tests/TestDataTable-GUI_Browser_chromium.robot
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ Remove Table
Click //a[text()='${TABLENAME}']/../span
Wait For Elements State //span[contains(@class, 'ui-dialog-title') and contains(text(), 'Delete table')] enabled
Take Screenshot
Click "Delete"
Click //div[@aria-describedby='dialog-delete-table']//button[text()='Delete']
Wait For Elements State //span[contains(@class, 'ui-tabs-anchor') and contains(text(), '${TABLENAME}')] detached


Expand Down
2 changes: 1 addition & 1 deletion Regression_Tests/TestDataTable-GUI_Browser_firefox.robot
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ Remove Table
Click //a[text()='${TABLENAME}']/../span
Wait For Elements State //span[contains(@class, 'ui-dialog-title') and contains(text(), 'Delete table')] enabled
Take Screenshot
Click "Delete"
Click //div[@aria-describedby='dialog-delete-table']//button[text()='Delete']
Wait For Elements State //span[contains(@class, 'ui-tabs-anchor') and contains(text(), '${TABLENAME}')] detached


Expand Down
2 changes: 1 addition & 1 deletion Regression_Tests/TestDataTable-GUI_Browser_webkit.robot
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ Remove Table
Click //a[text()='${TABLENAME}']/../span
Wait For Elements State //span[contains(@class, 'ui-dialog-title') and contains(text(), 'Delete table')] enabled
Take Screenshot
Click "Delete"
Click //div[@aria-describedby='dialog-delete-table']//button[text()='Delete']
Wait For Elements State //span[contains(@class, 'ui-tabs-anchor') and contains(text(), '${TABLENAME}')] detached


Expand Down

0 comments on commit b546df7

Please sign in to comment.