From b095237fc32db42c15c17b741db701d4f66fc7fe Mon Sep 17 00:00:00 2001 From: Timmy Jose Date: Fri, 11 Oct 2024 14:16:42 +0530 Subject: [PATCH] chore: fixed workflow --- .github/workflows/app.test.e2e.yaml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/workflows/app.test.e2e.yaml b/.github/workflows/app.test.e2e.yaml index 53a2ad6..db50830 100644 --- a/.github/workflows/app.test.e2e.yaml +++ b/.github/workflows/app.test.e2e.yaml @@ -35,27 +35,23 @@ jobs: - name: Pod install for iOS run: npx pod-install - - name: Start expo metro server - run: npx expo start & - - #3- name: Take screenshots (iOS) - #3 uses: futureware-tech/simulator-action@v2 - #3 with: - #3 model: 'iPhone 14 Pro' - - #3- name: Maestro iOS Test - #3 run: maestro test maestro/take-screenshots-ios.yaml - - - name: Start Android Emulator + - name: Take screenshots (Android) uses: reactivecircus/android-emulator-runner@v2 with: api-level: 29 arch: x86_64 ram-size: 2048M target: default + script: maestro test maestro/take-screenshots-.yaml - - name: Take screenshots (Android) - run: maestro test maestro/take-screenshots.yaml + - name: Take screenshots (iOS) + uses: futureware-tech/simulator-action@v2 + with: + model: 'iPhone 14 Pro' + - uses: dniHze/maestro-test-action@v1 + with: + flow: .maestro + report: report.xml - name: Archive screenshots uses: actions/upload-artifact@v4