Skip to content

Commit e14eb83

Browse files
author
Chris Chestnut
committed
Update CLI language to reflect alignment with Docs
1 parent 2cf026f commit e14eb83

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def self.run(params)
8787
test_devices =
8888
get_value_from_value_or_file(params[:test_devices], params[:test_devices_file])
8989
if present?(test_devices)
90-
UI.message("🤖 Starting automated tests.")
90+
UI.message("🤖 Starting automated tests. Note: This feature is in beta.")
9191
release_test = test_release(alpha_client, release, test_devices, params[:test_username], params[:test_password], params[:test_username_resource], params[:test_password_resource])
9292
unless params[:test_async]
9393
poll_test_finished(alpha_client, release_test.name)
@@ -386,7 +386,7 @@ def self.test_release(alpha_client, release, test_devices, username = nil, passw
386386

387387
def self.poll_test_finished(alpha_client, release_test_name)
388388
TEST_MAX_POLLING_RETRIES.times do
389-
UI.message("⏳ Waiting for test(s) to complete…")
389+
UI.message("⏳ The automated test results are pending.")
390390
sleep(TEST_POLLING_INTERVAL_SECONDS)
391391
release_test = alpha_client.get_project_app_release_test(release_test_name)
392392
if release_test.device_executions.all? { |e| e.state == 'PASSED' }
@@ -406,7 +406,7 @@ def self.poll_test_finished(alpha_client, release_test_name)
406406
end
407407
end
408408
end
409-
UI.test_failure!("Tests are running longer than expected.")
409+
UI.test_failure!("It took longer than expected to process your test, please try again.")
410410
end
411411

412412
def self.parse_test_device_string(td_string)
@@ -513,12 +513,12 @@ def self.available_options
513513
# Release Testing
514514
FastlaneCore::ConfigItem.new(key: :test_devices,
515515
env_name: "FIREBASEAPPDISTRO_TEST_DEVICES",
516-
description: "List of devices to run automated tests on, in the format 'model=<model-id>,version=<os-version-id>,locale=<locale>,orientation=<orientation>;model=<model-id>,...'. Run 'gcloud firebase test android|ios models list' to see available devices",
516+
description: "List of devices to run automated tests on, in the format 'model=<model-id>,version=<os-version-id>,locale=<locale>,orientation=<orientation>;model=<model-id>,...'. Run 'gcloud firebase test android|ios models list' to see available devices. Note: This feature is in beta.",
517517
optional: true,
518518
type: String),
519519
FastlaneCore::ConfigItem.new(key: :test_devices_file,
520520
env_name: "FIREBASEAPPDISTRO_TEST_DEVICES_FILE",
521-
description: "Path to file containing a list of devices to run automated tests on, in the format 'model=<model-id>,version=<os-version-id>,locale=<locale>,orientation=<orientation>;model=<model-id>,...'. Run 'gcloud firebase test android|ios models list' to see available devices",
521+
description: "Path to file containing a list of devices to run automated tests on, in the format 'model=<model-id>,version=<os-version-id>,locale=<locale>,orientation=<orientation>;model=<model-id>,...'. Run 'gcloud firebase test android|ios models list' to see available devices. Note: This feature is in beta.",
522522
optional: true,
523523
type: String),
524524
FastlaneCore::ConfigItem.new(key: :test_username,
@@ -530,15 +530,15 @@ def self.available_options
530530
optional: true,
531531
type: String),
532532
FastlaneCore::ConfigItem.new(key: :test_username_resource,
533-
description: "Resource name of the username field for automatic login",
533+
description: "Resource name for the username field for automatic login",
534534
optional: true,
535535
type: String),
536536
FastlaneCore::ConfigItem.new(key: :test_password_resource,
537-
description: "Resource name of the password field for automatic login",
537+
description: "Resource name for the password field for automatic login",
538538
optional: true,
539539
type: String),
540540
FastlaneCore::ConfigItem.new(key: :test_async,
541-
description: "Don't wait for automatic test results",
541+
description: "Run tests asynchronously. Visit the Firebase console for the automatic test results.",
542542
optional: false,
543543
default_value: false,
544544
type: Boolean),

0 commit comments

Comments
 (0)