Skip to content

Commit 5b4dbde

Browse files
committed
refactor: use test store for all maestro e2e tests (iOS and Android)
Made-with: Cursor
1 parent cbde9de commit 5b4dbde

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

fastlane/Fastfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@ end
141141
desc "Run maestro E2E tests on iOS"
142142
lane :run_maestro_e2e_tests_ios do
143143
Dir.chdir("e2e-tests/MaestroTestApp") do
144-
sh("sed -i '' 's/MAESTRO_TESTS_REVENUECAT_API_KEY/'\"$RC_E2E_TEST_API_KEY_PRODUCTION_APP_STORE\"'/g' www/js/app.js")
144+
sh("sed -i '' 's/MAESTRO_TESTS_REVENUECAT_API_KEY/'\"$RC_E2E_TEST_API_KEY_PRODUCTION_TEST_STORE\"'/g' www/js/app.js")
145145
sh("cordova platform add ios")
146146
sh("cordova build ios --emulator")
147147
sh("xcrun simctl install booted platforms/ios/build/emulator/MaestroTestApp.app")
148148
end
149-
sh("maestro test -e MAESTRO_STORE=app_store --format junit --output test_output/report.xml e2e-tests/maestro/")
149+
sh("maestro test --format junit --output test_output/report.xml e2e-tests/maestro/")
150150
end
151151

152152
desc "Run maestro E2E tests on Android"
@@ -157,7 +157,7 @@ lane :run_maestro_e2e_tests_android do
157157
sh("cordova build android")
158158
sh("adb install platforms/android/app/build/outputs/apk/debug/app-debug.apk")
159159
end
160-
sh("maestro test -e MAESTRO_STORE=test_store --format junit --output test_output/report.xml e2e-tests/maestro/")
160+
sh("maestro test --format junit --output test_output/report.xml e2e-tests/maestro/")
161161
end
162162

163163
desc "Generate docs"

0 commit comments

Comments
 (0)