zebrunner / stf

Mirror for git@github.com:openstf/stf.git repository
Other
31 stars 18 forks source link

sync zebrunner/WebDriverAgent with latest release #900

Closed vdelendik closed 2 months ago

vdelendik commented 8 months ago

let's pull and merge all latest changes from https://github.com/appium/WebDriverAgent/releases to https://github.com/zebrunner/WebDriverAgent

as of today 7.0.1 is available. related ticket #899

vdelendik commented 2 months ago

merged: https://github.com/zebrunner/WebDriverAgent/pull/7

dhreben commented 2 months ago

Reopened. Steps:

  1. git pull --recurse-submodules --branch develop https://github.com/zebrunner/WebDriverAgent.git
  2. Open WebdriverAgent on mac using Xcode
  3. Create a new build
  4. Add the new WebdriverAgent.ipa to linux

Actual result: Black screen in iOS devices on STF Tested with iPhone 8 and iPhone 12

logs:

2024-08-14T12:27:59.609Z INF/wdaClient 54 [e18f63dd...............dba8] Current device orientation: PORTRAIT
2024-08-14T12:28:07.153Z INF/wdaClient 54 [e18f63dd2...........bdeaddba8] stopping wda session:  2DC704D1-BDF9-4938-B4C7-BA24F144AADB
2024-08-14T12:28:07.154Z IMP/device:plugins:screen:stream 54 [e18f63dd2e441bea..............bdeaddba8] ws on close event
2024-08-14T12:28:07.160Z VRB/wdaClient 54 [e18f6.............deaddba8] Request has been sent to WDA with data:  {"method":"DELETE","uri":"http://connector:8100/session/2DC704D1-BDF9-4938-B4C7-BA24F144AADB"}
2024-08-14T12:28:08.540Z INF/wdaClient 54 [e18f63d................bdeaddba8] verifying wda session status...
2024-08-14T12:28:08.555Z VRB/wdaClient 54 [e18f63dd2................bdeaddba8] Request has been sent to WDA with data:  {"method":"POST","uri":"http://connector:8100/session","body":{"capabilities":{}},"json":true}
2024-08-14T12:28:08.572Z VRB/wdaClient 54 [e18f63dd2e...................deaddba8] Request has been sent to WDA with data:  {"method":"GET","uri":"http://connector:8100/status","json":true}
2024-08-14T12:28:08.575Z INF/wdaClient 54 [e18f63dd2.................addba8] status response: {"value":{"build":{"version":"8.9.1","time":"Aug 14 2024 14:10:15","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"},"os":{"testmanagerdVersion":65535,"name":"iOS","sdkVersion":"17.4","version":"16.7.5"},"device":"iphone","ios":{"ip":"192.168.1.160"},"message":"WebDriverAgent is ready to accept commands","state":"success","ready":true},"sessionId":"2D249467-8EED-4CB2-9025-82B7F4F42F96"}
2024-08-14T12:28:08.576Z INF/wdaClient 54 [e18f63dd2e.............eaddba8] reusing existing wda session: 2D249467-8EED-4CB2-9025-82B7F4F42F96
2024-08-14T12:28:08.579Z INF/wdaClient 54 [e18f6...................bbdeaddba8] Setting current device version: 16.7.5
2024-08-14T12:28:08.592Z VRB/wdaClient 54 [e18f63dd...............deaddba8] Request has been sent to WDA with data:  {"method":"GET","uri":"http://connector:8100/session/2D249467-8EED-4CB2-9025-82B7F4F42F96/wda/batteryInfo","json":true}
2024-08-14T12:28:08.594Z INF/wdaClient 54 [e18f.................eaddba8] Setting new device battery info
2024-08-14T12:28:08.726Z VRB/wdaClient 54 [e18f6..................deaddba8] Request has been sent to WDA with data:  {"method":"GET","uri":"http://connector:8100/session/2D249467-8EED-4CB2-9025-82B7F4F42F96/orientation","json":true}
2024-08-14T12:28:08.728Z INF/wdaClient 54 [e18f6...................ddba8] Current device orientation: PORTRAIT
dhreben commented 2 months ago

merged to develop https://github.com/zebrunner/WebDriverAgent/pull/8

dhreben commented 2 months ago

Verified