New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to upload app to app-automate. #3573
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
f27849f
Add support to upload app to app-automate.
garg3133 5fdd260
Add actionable error messages.
garg3133 5754e71
Add tests for sending multi-part form data.
garg3133 0a4ba71
Don't show build url log if session not created.
garg3133 5406dd9
Fix request test.
garg3133 f8b58be
Fix request test final.
garg3133 f3e67bc
Add tests for changes in App Automate.
garg3133 2413438
Small fix.
garg3133 d798373
Update request.js
beatfactor File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
createSessionOptions doesn't return a Promise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does now, for AppAutomate, since I am uploading the app to BrowserStack inside this method only, after creating all the session options. It also made more sense to do it inside
createSessionOptions
sinceoptions
are not final until the app is uploaded to BrowserStack. And for the other implementations ofcreateSessionOptions
, addingawait
here shouldn't have any effect.I tried doing this inside
this.createDriver
also (just so that I don't have to add thisawait
) but the problem there was that the spinner (Connecting to localhost on 4723...) was overwriting the console messages related to app upload (Uploading app to BrowserStack... and App upload successful!) and the spinner is called just after callingthis.createSessionOptions
method.