Skip to content

Commit 2d5eb1f

Browse files
committed
Fix issue
1 parent 84c2b3a commit 2d5eb1f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

fastlane/Fastfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ lane :build_and_run_e2e_test do |options|
6666
batch_count: options[:batch_count],
6767
local_server: options[:local_server],
6868
mock_server_branch: options[:mock_server_branch],
69+
apk_folder_path: "../#{test_flavor}/build/outputs/apk",
6970
use_backend: options[:use_backend]
7071
)
7172
end
@@ -91,7 +92,7 @@ lane :run_e2e_test do |options|
9192
install_test_services
9293
upload_attachments
9394

94-
stream_apk_folder_path = "../#{test_flavor}/build/outputs/apk"
95+
stream_apk_folder_path = options[:apk_folder_path] || '..'
9596
stream_app_path = "#{stream_apk_folder_path}/e2e/debug/stream-chat-android-compose-sample-e2e-debug.apk"
9697
stream_test_path = "#{stream_apk_folder_path}/androidTest/e2e/debug/stream-chat-android-compose-sample-e2e-debug-androidTest.apk"
9798
sh("adb install -r #{stream_app_path}")

0 commit comments

Comments
 (0)