mbestavros / browser-power-hour

A simple power consumption benchmark for Android web browsers utilizing Battery Historian
Apache License 2.0
13 stars 1 forks source link

Test fails on Redmi 12 5G #3

Open Sym8 opened 3 months ago

Sym8 commented 3 months ago

bugreport-sky_in-UKQ1.230917.001-2024-06-13-17-38-08.zip

Test 1 no bug report for this, Test stops when taking a screenshot fails after 1st completion of speedometer 3.0 benchmark.

Test 2 where screenshot is removed from the script. Screenshot 2024-06-13 175213 Although in screenshot it says quitting firefox the app was never closed and stayed open, chrome was never launched as its disabled on the device, and brave was installed and yet it was skipped.

mbestavros commented 3 months ago

This looks like a quirk with your installed ADB. For some reason, it's not allowed to write files to disk. Have you tried reinstalling ADB? Here's a guide.

Although in screenshot it says quitting firefox the app was never closed and stayed open, chrome was never launched as its disabled on the device, and brave was installed and yet it was skipped.

I've pushed a fix for this - all installed browsers should now be tested automatically. If you want to disable one, you can change the BROWSERS table in browser-power-hour.py.