From bb65b51b6ea32fc38f14934028f04fbaa3115d03 Mon Sep 17 00:00:00 2001 From: damies13 Date: Sat, 27 Apr 2024 22:53:01 +1000 Subject: [PATCH] updates for MacOS and Ubuntu Issue #138 --- .github/workflows/Regression_Tests.yaml | 4 ++++ Tests/Regression/Reporter/GUI_Common.robot | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Regression_Tests.yaml b/.github/workflows/Regression_Tests.yaml index 7d4d28922..f7b138d97 100644 --- a/.github/workflows/Regression_Tests.yaml +++ b/.github/workflows/Regression_Tests.yaml @@ -242,6 +242,7 @@ jobs: if: ${{ matrix.platform == 'ubuntu-latest' }} run: | sudo apt -y install python3-tk python3-dev python3-xlib scrot fluxbox tesseract-ocr + sudo apt -y install xsel xclip sudo apt list --installed - name: "Ubuntu Xvfb" if: ${{ matrix.platform == 'ubuntu-latest' }} @@ -292,6 +293,9 @@ jobs: if: ${{ matrix.platform == 'windows-latest' }} run: | dir dist + - name: "Ubuntu pip installs" + if: ${{ matrix.platform == 'ubuntu-latest' }} + run: pip install gtk PyQt4 - name: Install Reporter from dist UM if: ${{ matrix.platform != 'windows-latest' }} run: pip install rfswarm_reporter-*.whl diff --git a/Tests/Regression/Reporter/GUI_Common.robot b/Tests/Regression/Reporter/GUI_Common.robot index b4f18251f..f91aee993 100644 --- a/Tests/Regression/Reporter/GUI_Common.robot +++ b/Tests/Regression/Reporter/GUI_Common.robot @@ -124,7 +124,10 @@ Set Text Value To Right Of ${y}= Evaluate ${coordinates}[1]+${offsety} @{coordinates}= Create List ${x} ${y} Move To ${coordinates} - Triple Click button=left interval=0.0 + # Triple Click is broken on MacOS: TypeError: not enough arguments for format string + # Triple Click button=left interval=0.0 + Click + Double Click Type ${value} Take A Screenshot ${value2}= Copy From The Right Of ${img} ${offsetx}