Skip to content

Commit cfc81e4

Browse files
authored
[CI] Run Mobitru mobile web tests in dedicated jo
1 parent 3b32152 commit cfc81e4

File tree

1 file changed

+18
-24
lines changed

1 file changed

+18
-24
lines changed

.github/workflows/gradle.yml

Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -352,30 +352,6 @@ jobs:
352352
echo No BROWSERSTACK_USER and/or BROWSERSTACK_KEY, Browserstack phone system tests will be skipped
353353
fi
354354
355-
- name: Mobitru - Mobile - Web - System tests
356-
if: matrix.platform == 'macos-latest'
357-
env:
358-
MOBITRU_USER: ${{ secrets.MOBITRU_USER }}
359-
MOBITRU_KEY: ${{ secrets.MOBITRU_KEY }}
360-
shell: bash
361-
run: |
362-
if [[ -n $MOBITRU_USER && -n $MOBITRU_KEY ]]; then
363-
364-
./gradlew :vividus-tests:debugStories -Pvividus.configuration.suites=health_check \
365-
-Pvividus.configuration.profiles=mobitru/web,web/phone/iphone \
366-
-Pvividus.selenium.grid.capabilities.appium\:platformVersion=18 \
367-
-Pvividus.selenium.grid.username=${MOBITRU_USER} \
368-
-Pvividus.selenium.grid.password=${MOBITRU_KEY}
369-
370-
./gradlew :vividus-tests:debugStories -Pvividus.configuration.suites=health_check \
371-
-Pvividus.configuration.profiles=mobitru/web,web/phone/android \
372-
-Pvividus.selenium.grid.capabilities.appium\:platformVersion=14 \
373-
-Pvividus.selenium.grid.username=${MOBITRU_USER} \
374-
-Pvividus.selenium.grid.password=${MOBITRU_KEY}
375-
else
376-
echo No MOBITRU_USER and/or MOBITRU_KEY, Mobitru web mobile system tests will be skipped
377-
fi
378-
379355
- name: BrowserStack - Desktop - Web - System tests
380356
if: matrix.platform == 'macos-latest'
381357
env:
@@ -889,6 +865,24 @@ jobs:
889865
distribution: 'temurin'
890866
java-version: 23
891867

868+
- name: Mobitru - Mobile - Web - System tests
869+
env:
870+
MOBITRU_USER: ${{ secrets.MOBITRU_USER }}
871+
MOBITRU_KEY: ${{ secrets.MOBITRU_KEY }}
872+
shell: bash
873+
run: |
874+
./gradlew :vividus-tests:debugStories -Pvividus.configuration.suites=health_check \
875+
-Pvividus.configuration.profiles=mobitru/web,web/phone/iphone \
876+
-Pvividus.selenium.grid.capabilities.appium\:platformVersion=18 \
877+
-Pvividus.selenium.grid.username=${MOBITRU_USER} \
878+
-Pvividus.selenium.grid.password=${MOBITRU_KEY}
879+
880+
./gradlew :vividus-tests:debugStories -Pvividus.configuration.suites=health_check \
881+
-Pvividus.configuration.profiles=mobitru/web,web/phone/android \
882+
-Pvividus.selenium.grid.capabilities.appium\:platformVersion=14 \
883+
-Pvividus.selenium.grid.username=${MOBITRU_USER} \
884+
-Pvividus.selenium.grid.password=${MOBITRU_KEY}
885+
892886
- name: Mobitru - Android - Mobile App - Run system tests
893887
env:
894888
MOBITRU_USER: ${{ secrets.MOBITRU_USER }}

0 commit comments

Comments
 (0)