December 2024
New features
CLI / Test Runner
You can now launch a measurement on a phone which is configured in dark mode by using the extra parameter config-darkmode: “enabled”. With this parameter, the device is configured in dark mode before the execution of your GDSL test.
Example for CLI
gspt tb ct --ts suite1:../dsl/testdsl.testgb -m com.google.android.youtube -e config-darkmode="enabled"
Example for Test Runner
# Testrunner job configuration file mode: custom # apk | url | custom greenspector: application: name: MyApp version: "1" job: # Custom job android apk testsSuites: - name: suite1 testFiles: - "../dsl/testdsl.testgb" monitoredPackages: - com.google.android.youtube iterations: 1 # Number of iteration for each test case extras: config-screenbrightness: "127" config-darkmode: "enabled" testTimeout: 30m0s # Timeout for the total duration of the test, default value is 30m, max value is 60m online: true # [true, false] networkMode: WIFI modules: android_system_monitoring: false tcpdump: false
Bug fixes
Greenspector Studio - new interface
Fixes test without any results. With a test with many steps and iterations, sometimes, you should not have the results on Greenspector Studio and you could an error
ESOCKETTIMEDOUT
on measuring workshop interface.
GDSL
Fixes GDSL methods
browserPrepareAndOpen
andbrowserPrepareAndOpenForReference
for test on browser chrome to handle notification pop-up that may appear on phone. The measurement launched on the Test Bench device may fail when pop-ups appear.
Documentation changes
Add extra parameter config-darkmodehttps://greenspectorstudio.atlassian.net/wiki/x/AYD9CQ
Add all extra parameter to config phone before test https://greenspectorstudio.atlassian.net/wiki/x/AQD-CQ