Skip to content

Commit

Permalink
Merge pull request #89 from Tesena-smart-testing/r-bedna
Browse files Browse the repository at this point in the history
cleanup and minor fixes
  • Loading branch information
janegermaier authored Mar 9, 2022
2 parents b91b012 + 384c826 commit 5fa78eb
Show file tree
Hide file tree
Showing 9 changed files with 483 additions and 327 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, 3.10]
python-version: [3.9]
name: Run Robot Framework Tests
steps:
- uses: actions/checkout@v2
Expand All @@ -31,6 +31,12 @@ jobs:
&& sudo mv chromedriver /usr/local/bin/chromedriver \
&& sudo chmod +x /usr/local/bin/chromedriver \
&& chromedriver --version
- name: Install Tesseract
run: |
sudo apt-get update && sudo apt-get install -y \
tesseract-ocr \
tesseract-ocr-eng \
tesseract-ocr-ces
- name: display
run: DISPLAY=:0
- name: Robot Framework
Expand All @@ -49,5 +55,5 @@ jobs:
- name: Run headless test
uses: GabrielBB/[email protected]
with:
run: python3 -m robot tests/unit_test.robot
run: python3 -m robot tests/test.robot

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,5 @@ Outputs
log.html
output.xml
report.html
.devcontainer/
tests/outputs/
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/psf/black
rev: 21.7b0
hooks:
- id: black
4 changes: 0 additions & 4 deletions WatchUI/WatchUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ class WatchUI(Image, Pdf, Tesseract):
- `Keywords`
= Usage =
This library allows for automated visual testing of web frontends.
Currently, this library is not officialy supported, so best way is to
clone the repository and copy the WatchUI.py library file into your project and then
import it - see Importing section.
However, you can also install it via command *pip install WatchUI* and then import it.
*IMPORTANT*: When using keywords of this library, please remember,
that screenshots have to have same resolution!
= Examples =
Expand Down
4 changes: 2 additions & 2 deletions docs/WatchUI.html

Large diffs are not rendered by default.

Loading

0 comments on commit 5fa78eb

Please sign in to comment.