-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added more test case for keep same link
- Loading branch information
1 parent
b9e6b76
commit 4dbf937
Showing
1 changed file
with
44 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,58 @@ | ||
desc "Upload IPA file and Send an email to single email" | ||
lane :testSingleEmail do | ||
gym | ||
appbox(emails:'[email protected]') | ||
appbox( | ||
emails:'[email protected]' | ||
) | ||
end | ||
|
||
|
||
desc "Upload IPA file and Send email to multiple commas separated emails" | ||
lane :testMultipleEmail do | ||
gym | ||
appbox(emails:'[email protected],[email protected]') | ||
appbox( | ||
emails:'[email protected],[email protected]' | ||
) | ||
end | ||
|
||
|
||
desc "Upload IPA file and Send email with a custom message." | ||
lane :testEmailWithCustomMessage do | ||
gym | ||
appbox(emails:'[email protected]' message: '{PROJECT_NAME} - {BUILD_VERSION}({BUILD_NUMBER}) is ready to test.') | ||
appbox( | ||
emails:'[email protected]', | ||
message: '{PROJECT_NAME} - {BUILD_VERSION}({BUILD_NUMBER}) is ready to test.', | ||
) | ||
end | ||
|
||
|
||
desc "Upload IPA file where AppBox available at some custom path instead of macOS Application Directory." | ||
lane :testAppBoxWithCustomPath do | ||
gym | ||
appbox( | ||
emails:'[email protected]', | ||
appbox_path:'/Users/vineetchoudhary/Desktop/AppBox2.8.0/AppBox.app', | ||
) | ||
end | ||
|
||
|
||
desc "Upload IPA file and keep the same link for all future upload IPAs." | ||
lane :testKeepSameLink do | ||
gym | ||
appbox( | ||
emails:'[email protected]', | ||
message: '{PROJECT_NAME} - {BUILD_VERSION}({BUILD_NUMBER}) is ready to test.', | ||
keep_same_link: true, | ||
) | ||
end | ||
|
||
lane :testCustomPath do | ||
desc "Upload IPA file and keep the same link for all future upload IPAs in Custom Dropbox folder." | ||
lane :testCustomDBFolderName do | ||
gym | ||
appbox(emails:'[email protected]', path:'/Users/vineetchoudhary/Desktop/AppBox2.8.0/AppBox.app') | ||
appbox( | ||
emails:'[email protected]', | ||
message: '{PROJECT_NAME} - {BUILD_VERSION}({BUILD_NUMBER}) is ready to test.', | ||
keep_same_link: true, | ||
dropbox_folder_name: 'Fastlane-Demo-Keep-Same-Link', | ||
) | ||
end |