Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit a9b0c35

Browse files
committed
Fix calabash app path environment var exporting
1 parent 623564b commit a9b0c35

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

‎calabash/features/support/01_launch.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
require 'calabash-cucumber/launcher'
1616

17-
APP_BUNDLE_PATH = "../../../Build/Products/Debug-iphonesimulator/Contacts-cal.app"
17+
#APP_BUNDLE_PATH = "path/to/app.app"
1818

1919
Before do |scenario|
2020
@calabash_launcher = Calabash::Cucumber::Launcher.new

‎fastlane/Fastfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,14 @@ platform :ios do
3131
scheme: "Contacts-cal"
3232
)
3333

34-
sh "export APP_BUNDLE_PATH=\"../Build/Products/Debug-iphonesimulator/Contacts-cal.app\""
35-
sh "cd ../calabash && cucumber"
34+
sh "cd ../calabash && APP=\"../Build/Products/Debug-iphonesimulator/Contacts-cal.app\" cucumber"
3635
end
3736

3837
lane :test_ui_automation do
3938

4039
end
4140

42-
lane :test_xc_tests do
41+
lane :test_xctests do
4342
scan(
4443
scheme: "Contacts"
4544
)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /