Skip to content
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 testing on multiple browsers/devices #29

Open
cdcadman opened this issue Dec 8, 2024 · 1 comment
Open

Support testing on multiple browsers/devices #29

cdcadman opened this issue Dec 8, 2024 · 1 comment

Comments

@cdcadman
Copy link
Owner

cdcadman commented Dec 8, 2024

https://github.com/cdcadman/247bishops/actions/runs/12218677408/attempts/1

tests/conftest.py:70: in android_chrome
    return Remote(command_executor, options=options)
[cdc37e45][ADB] Running '/usr/local/lib/android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cmd package list packages'
[cdc37e45][ADB] Running '/usr/local/lib/android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cmd package list packages'
[cdc37e45][ADB] Error: Command '/usr/local/lib/android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server' exited with code 1
    at ChildProcess.<anonymous> (/home/runner/.appium/node_modules/appium-uiautomator2-driver/node_modules/teen_process/lib/exec.js:110:19)
    at ChildProcess.emit (node:events:517:28)
    at maybeClose (node:internal/child_process:1098:16)
    at Socket.<anonymous> (node:internal/child_process:450:11)
    at Socket.emit (node:events:517:28)
    at Pipe.<anonymous> (node:net:350:12)
    at Pipe.callbackTrampoline (node:internal/async_hooks:128:17)
[cdc37e45][ADB] Got an unexpected error while dumping package info: Error executing adbExec. Original error: 'Command '/usr/local/lib/android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server' exited with code 1'; Command output: adb: device offline
@cdcadman cdcadman linked a pull request Dec 8, 2024 that will close this issue
@cdcadman cdcadman changed the title Catch device offline error when starting android tests Support testing on multiple browsers/devices Dec 8, 2024
@cdcadman
Copy link
Owner Author

cdcadman commented Dec 8, 2024

This will partly be achieved by reintroducing the code that was removed in this pull request: #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant