You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once after integration of existing detox based tests with Browserstack, following error is noticed.
was expecting 'CloudPlatform' , got {"type":"error","response":{"method":"launchApp","success":false,"message":""},"messageId":2,"cloudSessionId":"81d6e16e85eeba2ed8d02762f3353120a9425081"}
Please report this issue on our GitHub tracker: https://github.com/wix/Detox/issues
Detox version: 20.26.2
React Native version: 0.72.14
Has Fabric (React Native's new rendering system) enabled: (yes/no) no
Node version: 22.8.0
Test-runner (select one): jest
Detox logs
FAIL e2e/tests/deep-links/deep-links.e2e.ts (111.392 s)
Deep links
✕ navigates to Dining Information via deeplink, checks if Dining list page opens (3 ms)
● Deep links › navigates to Home, checks if Home page opens
was expecting 'CloudPlatform' , got {"type":"error","response":{"method":"launchApp","success":false,"message":""},"messageId":2,"cloudSessionId":"81d6e16e85eeba2ed8d02762f3353120a9425081"}
Please report this issue on our GitHub tracker:
https://github.com/wix/Detox/issues
136 |
137 | const loginResponse = await login(email, password);
> 138 | await device.launchApp({
| ^
139 | newInstance: true,
140 | delete: isIOS,
141 | ...config,
at launchAuthenticatedApp (utils/auth-utils.ts:138:16)
at Object.<anonymous> (tests/deep-links/deep-links.e2e.ts:30:5)
Device logs
Device logs
paste logs here!
More data, please!
No response
The text was updated successfully, but these errors were encountered:
Are you running with the detox patch Browserstack has provided? They add the cloud config, without that patch it doesn't exists so you cannot run your test. So you have to build with the regular detox package and then run with their detox package.
For me Detox with browserstack works when I run it locally, but when I try to run the exact same script from the pipeline, my app starts, shows my homeScreen for half a second and then crashses (shows a white screen, for the rest of the test).
What happened?
Once after integration of existing detox based tests with Browserstack, following error is noticed.
was expecting 'CloudPlatform' , got {"type":"error","response":{"method":"launchApp","success":false,"message":""},"messageId":2,"cloudSessionId":"81d6e16e85eeba2ed8d02762f3353120a9425081"}
Please report this issue on our GitHub tracker:
https://github.com/wix/Detox/issues
Detox: 20.26.2
detox.config.js
configurations: {
...
'android.cloud': {
device: 'cloud',
app: 'android.cloud.debug',
cloudAuthentication: {
username: '---',
accessKey: '---',
},
session: {
server: 'wss://detox.browserstack.com/init',
name: '---',
build: '---',
project: '---'
}
},
},
apps: {
'android.cloud.debug': {
type: 'android.cloud',
app: 'bs://d9f5af24f616766ca427c0a53973d89ca4d7767c',
appClient: 'bs://db971316764fb9884337409e912ca3223a3a68eb'
}
}
devices: {
'cloud': {
type: 'android.cloud',
device: {
name: 'Samsung Galaxy S21 Plus',
osVersion: '11.0'
}
},
}
What was the expected behaviour?
The test is expected to run in cloud environment specified, as like in local.
Was it tested on latest Detox?
Help us reproduce this issue!
https://www.browserstack.com/docs/app-automate/detox/getting-started - Followed the steps in Browserstack doc. But, from detox end, it fails.
In what environment did this happen?
Detox version: 20.26.2
React Native version: 0.72.14
Has Fabric (React Native's new rendering system) enabled: (yes/no) no
Node version: 22.8.0
Test-runner (select one): jest
Detox logs
FAIL e2e/tests/deep-links/deep-links.e2e.ts (111.392 s)
Deep links
✕ navigates to Dining Information via deeplink, checks if Dining list page opens (3 ms)
● Deep links › navigates to Home, checks if Home page opens
Device logs
Device logs
More data, please!
No response
The text was updated successfully, but these errors were encountered: