1- Execute Patrol tests on emulators locally (Successfull)
2- Execute bs_android scripts to run Patrol tests on BrowserStack App Automate
3- Expect to see that Patrol "Test starting" screen is displayed, the app is launched and all the 21 tests are ran successfully
Actual results
1- Patrol "Test starting" is not displayed
2- The app is not launching (only an orange screen is displayed which belongs to the app)
3- Initialisation error is returned.
We're facing issues in displaying the webpage requested. In order to
resolve this issue, please ensure the following:
Verify the URL entered is accurate.
Ensure the URL entered is accessible outside BrowserStack.
Download the Local Desktop App* from "Local Testing".
For advanced configuration*, start the Local Desktop App and
navigate to localhost:45454.
* If you use BrowserStack binary, refer to this
guide.
Please contact support@browserstack.com, if the issue persists.
at pl.leancode.patrol.PatrolJUnitRunner.listDartTests(PatrolJUnitRunner.java:126)
at com.easyjet.travel.android.MainActivityTest.testCases(MainActivityTest.java:19)
... 21 trimmed
Caused by: pl.leancode.patrol.contracts.PatrolAppServiceClientException: Invalid response 503,
Page not found
⚠️ Unable to display the page
We're facing issues in displaying the webpage requested. In order to
resolve this issue, please ensure the following:
Verify the URL entered is accurate.
Ensure the URL entered is accessible outside BrowserStack.
Download the Local Desktop App* from "Local Testing".
For advanced configuration*, start the Local Desktop App and
navigate to localhost:45454.
* If you use BrowserStack binary, refer to this
guide.
Please contact support@browserstack.com, if the issue persists.
at pl.leancode.patrol.contracts.PatrolAppServiceClient.performRequest(PatrolAppServiceClient.kt:47)
at pl.leancode.patrol.contracts.PatrolAppServiceClient.performRequest$default(PatrolAppServiceClient.kt:27)
at pl.leancode.patrol.contracts.PatrolAppServiceClient.listDartTests(PatrolAppServiceClient.kt:18)
at pl.leancode.patrol.PatrolAppServiceClient.listDartTests(PatrolAppServiceClient.kt:46)
at pl.leancode.patrol.PatrolJUnitRunner.listDartTests(PatrolJUnitRunner.java:114)
... 23 more
INSTRUMENTATION_STATUS: stream=
Error in initializationError(com.easyjet.travel.android.MainActivityTest):
java.lang.RuntimeException: pl.leancode.patrol.contracts.PatrolAppServiceClientException: Invalid response 503,
Page not found
⚠️ Unable to display the page
We're facing issues in displaying the webpage requested. In order to
resolve this issue, please ensure the following:
Verify the URL entered is accurate.
Ensure the URL entered is accessible outside BrowserStack.
Download the Local Desktop App* from "Local Testing".
For advanced configuration*, start the Local Desktop App and
navigate to localhost:45454.
* If you use BrowserStack binary, refer to this
guide.
Please contact support@browserstack.com, if the issue persists.
at pl.leancode.patrol.PatrolJUnitRunner.listDartTests(PatrolJUnitRunner.java:126)
at com.easyjet.travel.android.MainActivityTest.testCases(MainActivityTest.java:19)
... 21 trimmed
Caused by: pl.leancode.patrol.contracts.PatrolAppServiceClientException: Invalid response 503,
Page not found
⚠️ Unable to display the page
We're facing issues in displaying the webpage requested. In order to
resolve this issue, please ensure the following:
Verify the URL entered is accurate.
Ensure the URL entered is accessible outside BrowserStack.
Download the Local Desktop App* from "Local Testing".
For advanced configuration*, start the Local Desktop App and
navigate to localhost:45454.
* If you use BrowserStack binary, refer to this
guide.
Please contact support@browserstack.com, if the issue persists.
at pl.leancode.patrol.contracts.PatrolAppServiceClient.performRequest(PatrolAppServiceClient.kt:47)
at pl.leancode.patrol.contracts.PatrolAppServiceClient.performRequest$default(PatrolAppServiceClient.kt:27)
at pl.leancode.patrol.contracts.PatrolAppServiceClient.listDartTests(PatrolAppServiceClient.kt:18)
at pl.leancode.patrol.PatrolAppServiceClient.listDartTests(PatrolAppServiceClient.kt:46)
at pl.leancode.patrol.PatrolJUnitRunner.listDartTests(PatrolJUnitRunner.java:114)
... 23 more
INSTRUMENTATION_STATUS: test=initializationError
INSTRUMENTATION_STATUS_CODE: -2
INSTRUMENTATION_RESULT: stream=
Time: 0.063
There was 1 failure:
1) initializationError(com.easyjet.travel.android.MainActivityTest)
java.lang.RuntimeException: pl.leancode.patrol.contracts.PatrolAppServiceClientException: Invalid response 503,
Page not found
⚠️ Unable to display the page
We're facing issues in displaying the webpage requested. In order to
resolve this issue, please ensure the following:
Verify the URL entered is accurate.
Ensure the URL entered is accessible outside BrowserStack.
Download the Local Desktop App* from "Local Testing".
For advanced configuration*, start the Local Desktop App and
navigate to localhost:45454.
* If you use BrowserStack binary, refer to this
guide.
Please contact support@browserstack.com, if the issue persists.
at pl.leancode.patrol.PatrolJUnitRunner.listDartTests(PatrolJUnitRunner.java:126)
at com.easyjet.travel.android.MainActivityTest.testCases(MainActivityTest.java:19)
... 21 trimmed
Caused by: pl.leancode.patrol.contracts.PatrolAppServiceClientException: Invalid response 503,
Page not found
⚠️ Unable to display the page
We're facing issues in displaying the webpage requested. In order to
resolve this issue, please ensure the following:
Verify the URL entered is accurate.
Ensure the URL entered is accessible outside BrowserStack.
Download the Local Desktop App* from "Local Testing".
For advanced configuration*, start the Local Desktop App and
navigate to localhost:45454.
* If you use BrowserStack binary, refer to this
guide.
Please contact support@browserstack.com, if the issue persists.
at pl.leancode.patrol.contracts.PatrolAppServiceClient.performRequest(PatrolAppServiceClient.kt:47)
at pl.leancode.patrol.contracts.PatrolAppServiceClient.performRequest$default(PatrolAppServiceClient.kt:27)
at pl.leancode.patrol.contracts.PatrolAppServiceClient.listDartTests(PatrolAppServiceClient.kt:18)
at pl.leancode.patrol.PatrolAppServiceClient.listDartTests(PatrolAppServiceClient.kt:46)
at pl.leancode.patrol.PatrolJUnitRunner.listDartTests(PatrolJUnitRunner.java:114)
... 23 more
FAILURES!!!
Tests run: 1, Failures: 1
INSTRUMENTATION_CODE: -1
Patrol Doctor output
```
Patrol doctor:
Patrol CLI version: 3.1.0
Flutter command: flutter
Flutter 3.22.0 • channel stable
Android:
• Program adb found in /Users/banu.toros/Library/Android/sdk/platform-tools/adb
• Env var $ANDROID_HOME set to /Users/banu.toros/Library/Android/sdk
iOS / macOS:
• Program xcodebuild found in /usr/bin/xcodebuild
• Program ideviceinstaller found in /opt/homebrew/bin/ideviceinstaller
Steps to reproduce
1- Execute Patrol tests on emulators locally (Successfull) 2- Execute bs_android scripts to run Patrol tests on BrowserStack App Automate 3- Expect to see that Patrol "Test starting" screen is displayed, the app is launched and all the 21 tests are ran successfully
Actual results
1- Patrol "Test starting" is not displayed 2- The app is not launching (only an orange screen is displayed which belongs to the app) 3- Initialisation error is returned.
https://github.com/user-attachments/assets/6d955201-d113-4b22-b943-c8a3abf7d9ec
Logs
Logs
```AndroidLogs.txt
Patrol version
Patrol: ^3.10.0 Patrol CLI: ^3.1.0
Patrol Doctor output
Patrol Doctor output
``` Patrol doctor: Patrol CLI version: 3.1.0 Flutter command: flutter Flutter 3.22.0 • channel stable Android: • Program adb found in /Users/banu.toros/Library/Android/sdk/platform-tools/adb • Env var $ANDROID_HOME set to /Users/banu.toros/Library/Android/sdk iOS / macOS: • Program xcodebuild found in /usr/bin/xcodebuild • Program ideviceinstaller found in /opt/homebrew/bin/ideviceinstallerFlutter Doctor output
Flutter Doctor output
```