-
Notifications
You must be signed in to change notification settings - Fork 150
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
Support for iOS on BrowserStack #1923
Comments
Hi @garyb-bs! Thanks for opening the issue. We are using BrowserStack with Patrol in some project and basically the test execution works okay on iOS, but it has a lot of flaws regarding logs, reports and the dashboard itself. We actually filed a couple issues to BrowserStack about the state of XCUITest API. Let me know how we can proceed on this, because I wouldn't like to keep this issue open without any actionables but also I wouldn't close it because it's not done-done. :) |
Hi @mateuszwojtczak - really appreciate the response. When you say the test execution works ok on iOS, what are the steps to run them? Is it simply following the XCUITest steps in the BrowserStack docs here: https://www.browserstack.com/docs/app-automate/xcuitest/getting-started ? Would you be able to provide me with the list of faults that you provided to the team at BrowserStack? This will allow me to speak with them internally and see what can be done? |
Hi @garyb-bs, it's nice to see BrowserStack taking interest in Patrol. As @mateuszwojtczak wrote above, Patrol does work on BrowserStack App Automate for iOS, but the experience is far from perfect, and often there's not much we can do because the problems are not on our side. The biggest problem is that BrowserStack's XCUITest API v1 ( First of all, it's impossible to even run tests on BrowserStack's XCUITest API v2 following the official docs. After trying to upload the test suite to the
This can be automated with the following command:
but anyway, this is very strange and not a good first run experience. But once we applied that workaround, we faced the problem with "Test Details" view on BrowserStack's web UI summary looking worse compared to Android web UI summary. Tests execute correctly, but the web UI:
Furthermore:
We look forward to working with you on improving Patrol experience on BrowserStack. |
Hi @garyb-bs, if you want to try iOS runs by yourself check out our |
Hi @garyb-bs , Have you had a chance to look more deeply into those issues with integration between Patrol and BrowserStack? My team, we are also very keen to use Patrol together with BS App Automate as we are already using BS App Live, so it would be great to be able to use one platform for both processes. |
Use case
Currently, Patrol is only supporting Android as part of its BrowserStack integration. We are seeing an uptick in interest for running iOS tests on BrowserStack via Patrol.
Proposal
We want to be able to upload an IPA file to BrowserStack, and upload our Flutter tests all using Patrol.
The Android integration is working well, but without iOS it is hard to give customers what they need for an overall mobile testing experience.
Looking at the
bs-android
script, it seems the Android integration is using our Espresso URL in the curl command, so it stands to reason that an iOS implementation would utilise the XCUITest URL. The main issue right now is that Patrol seems to use .app files, and BrowserStack is requiring .ipa files. If we could add support for this, it might just work as standard.The text was updated successfully, but these errors were encountered: