Skip to content

Commit c914d69

Browse files
committed
[CI] Publish reports from web mobile tests executed on Mobitru
1 parent b60f208 commit c914d69

File tree

1 file changed

+36
-12
lines changed

1 file changed

+36
-12
lines changed

.github/workflows/gradle.yml

Lines changed: 36 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ jobs:
756756
-Pvividus.selenium.grid.username=${BROWSERSTACK_USER} \
757757
-Pvividus.selenium.grid.password=${BROWSERSTACK_KEY}
758758
done
759-
759+
760760
- name: BrowserStack - Desktop - Web - System tests
761761
env:
762762
BROWSERSTACK_USER: ${{ secrets.BROWSERSTACK_USER }}
@@ -771,7 +771,7 @@ jobs:
771771
-Pvividus.selenium.grid.password=${BROWSERSTACK_KEY} \
772772
-Pvividus.selenium.grid.capabilities.bstack\:options.buildName="VIVIDUS BrowserStack Integration Tests"
773773
done
774-
774+
775775
- name: BrowserStack - iOS - Mobile App - Run system tests
776776
env:
777777
BROWSERSTACK_USER: ${{ secrets.BROWSERSTACK_USER }}
@@ -806,14 +806,14 @@ jobs:
806806
807807
-Pvividus.notifications.mail.recipient="[email protected], [email protected]" \
808808
-Pvividus.notifications.mail.security-protocol=STARTTLS
809-
809+
810810
- name: BrowserStack - iOS - Mobile App - Publish system tests report
811811
if: always()
812812
uses: actions/upload-artifact@v4
813813
with:
814814
name: BrowserStack - System Tests - Report - iOS
815815
path: vividus-tests/output/reports/bs-ios-allure
816-
816+
817817
- name: BrowserStack - Android - Mobile App - Run system tests
818818
env:
819819
BROWSERSTACK_USER: ${{ secrets.BROWSERSTACK_USER }}
@@ -837,7 +837,7 @@ jobs:
837837
-Pvividus.allure.executor.report-url=https://github.com/vividus-framework/vividus/actions/runs/${GITHUB_RUN_ID} \
838838
-Pvividus.allure.executor.report-name="BrowserStack Android System tests report" \
839839
-Pvividus.variables.app-url=bs://9d822d48132d61d848244f4822901ecd91b6cba2
840-
840+
841841
- name: BrowserStack - Android - Mobile App - Publish system tests report
842842
if: always()
843843
uses: actions/upload-artifact@v4
@@ -895,23 +895,47 @@ jobs:
895895
distribution: 'temurin'
896896
java-version: 23
897897

898-
- name: Mobitru - Mobile - Web - System tests
898+
- name: Mobitru - Android - Mobile - Web - System tests
899899
env:
900900
MOBITRU_USER: ${{ secrets.MOBITRU_USER }}
901901
MOBITRU_KEY: ${{ secrets.MOBITRU_KEY }}
902902
shell: bash
903903
run: |
904904
./gradlew :vividus-tests:debugStories -Pvividus.configuration.suites=health_check \
905-
-Pvividus.configuration.profiles=mobitru/web,web/phone/iphone \
906-
-Pvividus.selenium.grid.capabilities.appium\:platformVersion=18 \
905+
-Pvividus.configuration.profiles=mobitru/web,web/phone/android \
906+
-Pvividus.selenium.grid.capabilities.appium\:platformVersion=14 \
907907
-Pvividus.selenium.grid.username=${MOBITRU_USER} \
908-
-Pvividus.selenium.grid.password=${MOBITRU_KEY}
908+
-Pvividus.selenium.grid.password=${MOBITRU_KEY} \
909+
-Pvividus.allure.history-directory=output/history/mt-android-web-system-tests \
910+
-Pvividus.allure.report-directory=output/reports/mt-android-web-allure
911+
912+
- name: Mobitru - Android - Mobile - Web - Publish system tests report
913+
if: always()
914+
uses: actions/upload-artifact@v4
915+
with:
916+
name: Mobitru - System Tests - Report - Web Android
917+
path: vividus-tests/output/reports/mt-android-web-allure
909918

919+
- name: Mobitru - IOS - Mobile - Web - System tests
920+
env:
921+
MOBITRU_USER: ${{ secrets.MOBITRU_USER }}
922+
MOBITRU_KEY: ${{ secrets.MOBITRU_KEY }}
923+
shell: bash
924+
run: |
910925
./gradlew :vividus-tests:debugStories -Pvividus.configuration.suites=health_check \
911-
-Pvividus.configuration.profiles=mobitru/web,web/phone/android \
912-
-Pvividus.selenium.grid.capabilities.appium\:platformVersion=14 \
926+
-Pvividus.configuration.profiles=mobitru/web,web/phone/iphone \
927+
-Pvividus.selenium.grid.capabilities.appium\:platformVersion=18 \
913928
-Pvividus.selenium.grid.username=${MOBITRU_USER} \
914-
-Pvividus.selenium.grid.password=${MOBITRU_KEY}
929+
-Pvividus.selenium.grid.password=${MOBITRU_KEY} \
930+
-Pvividus.allure.history-directory=output/history/mt-ios-web-system-tests \
931+
-Pvividus.allure.report-directory=output/reports/mt-ios-web-allure
932+
933+
- name: Mobitru - IOS - Mobile - Web - Publish system tests report
934+
if: always()
935+
uses: actions/upload-artifact@v4
936+
with:
937+
name: Mobitru - System Tests - Report - Web IOS
938+
path: vividus-tests/output/reports/mt-ios-web-allure
915939

916940
- name: Mobitru - Android - Mobile App - Run system tests
917941
env:

0 commit comments

Comments
 (0)