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
[testing] Run tests on device #17808
Merged
Merged
Conversation
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
rmarinho
force-pushed
the
run-on-device
branch
from
October 13, 2023 14:52
2c923d6
to
b0375dd
Compare
rmarinho
force-pushed
the
run-on-device
branch
from
October 17, 2023 14:24
b0375dd
to
11bb6d2
Compare
/rebase |
# Conflicts: # eng/devices/devices-shared.cake # eng/devices/ios.cake # src/Controls/tests/UITests/UITest.cs
@rmarinho is this still needed? I think I see some things that have already been updated through other PRs as well? |
Yes there are still stuff here I didn't pulled in. Some stuff I put in other PRs.. |
jsuarezruiz
approved these changes
Nov 28, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description of Change
Updates iOS cake to handle run device and uitests on real devices. Android runs devices tests on device but doesn't look for the correct device yet.
Real dumb look using xharness to get the attached devices . I did try something like
xharness apple device ios-device
but that only returns 1 attached device? I can pass--device=iHomePad
and get UDID but I don't know the name of devices in the 1st place.Use --device as
ios-device
and specify what version to run on with--apiversion
it will just match major version of the attached devices.The signing part is tricky and still trying to figure out the best way to do it. the Appium driver app runs needs to also be installed and for that expects a wildcard profile and cert with default name on the default keychain. Provisionator creates its own keychain.
UItests
Device tests