-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Features - Simplify image matching by implementing an OPENCV locator strategy (see qa.justtestlah.base.ByImage and qa.justtestlah.base.ImageWebElement). This works differently from Appium's image locator by performing the check on the client machine (i.e. where the test runs) and not the Appium server. It requires OpenCV and, currently, only works with Selenium. For Appium, the IMAGE locator type can be used. - Update Selenium to 4, Appium to 8 and Cucumber to 7. - Update all other libraries to the latest available version. Documentation - Update and simplify the README. - Maintain the demos. - Add a JustTestLah! logo. Testing - Add various integration tests to the build pipeline (Android test with Appium, Firefox/Opera tests, Maven archetype test).
- Loading branch information
1 parent
c2bf5d2
commit 8a33fbe
Showing
63 changed files
with
930 additions
and
681 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
name: Integration tests | ||
on: [push] | ||
|
||
jobs: | ||
opera: | ||
env: | ||
DISPLAY: :0 | ||
runs-on: ubuntu-latest | ||
name: Opera | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: zulu | ||
java-version: 17 | ||
architecture: x64 | ||
- name: Run Opera tests | ||
run: chmod +x ./scripts/opera-verifier.sh && ./scripts/opera-verifier.sh | ||
firefox: | ||
env: | ||
DISPLAY: :0 | ||
runs-on: ubuntu-latest | ||
name: Firefox | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: zulu | ||
java-version: 17 | ||
architecture: x64 | ||
- name: Run Firefox tests | ||
run: chmod +x ./scripts/firefox-verifier.sh && ./scripts/firefox-verifier.sh | ||
visual: | ||
env: | ||
DISPLAY: :0 | ||
runs-on: ubuntu-latest | ||
name: OpenCV and Tesseract | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: zulu | ||
java-version: 17 | ||
architecture: x64 | ||
- name: Run visual tests | ||
run: chmod +x ./scripts/visual-verifier.sh && ./scripts/visual-verifier.sh | ||
archetype: | ||
runs-on: ubuntu-latest | ||
name: Maven archetype | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: zulu | ||
java-version: 17 | ||
architecture: x64 | ||
- name: Create and test archetype | ||
run: chmod +x ./scripts/archetype-verifier.sh && ./scripts/archetype-verifier.sh | ||
android: | ||
runs-on: macos-11 | ||
name: Android | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: zulu | ||
java-version: 17 | ||
architecture: x64 | ||
- name: Run Appium test | ||
uses: reactivecircus/android-emulator-runner@v2 | ||
with: | ||
api-level: 29 | ||
script: chmod +x ./scripts/android-verifier.sh && ./scripts/android-verifier.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED | ||
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.