-
Notifications
You must be signed in to change notification settings - Fork 5
Add integration test for mobile run command with device ids #637
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
base: main
Are you sure you want to change the base?
Conversation
xiankai
left a comment
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.
small reminder: need to fix lint as well
integration-test/src/commands.ts
Outdated
| "https://mobile-app.autify.com/projects/4yyFEL/test_plans/1EtZ0P"; | ||
| const mobileWorkspaceId = "4yyFEL"; | ||
| const mobileAndroidBuildId = "d1ulrD"; | ||
| const mobileDeviceIds = "R5CY23ND1KE"; |
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.
out of curiosity how did you arrive at this value? is it like your own device ID that you'll keep on during tests or something like a mock value?
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.
This is my own device ID value. This device ID should be in the "autify-cli" project so that we can record the actual API response. It means, if someone wants to update the recorded response, they will need to set their own local device temporarily :(
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.
I see, I guess it's unavoidable but at least having a one-line comment that this value needs to be replaced if we want to run any local device tests would help
xiankai
left a comment
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.
I understand why we need the test here now
We have no integration test with
--device-idsoption forautify mobile link startcommmand. This PR add the integration test and the network recording file.This test is also required for the Bitrise step autifyhq/bitrise-step-autify-test-run#12.