mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 03:12:34 +01:00
Gmail: A workload to perform standard productivity tasks within Gmail. The workload carries out various tasks, such as creating new emails, attaching images and sending them.
Moved broadcast to super. Mandatory and Default are XOR Added a longer wait for sync to finish. Increases reliability on certain phones Changed recipient to not mandatory and a default set Wait for sync when launching gmail from the sharing feature Fix: cornercase where image viewer already points to working directory. Refactored code due to duplication Added new function to BaseUiAutomation class to find a folder in the gallery
This commit is contained in:
Binary file not shown.
2
wlauto/common/android/workload.py
Normal file → Executable file
2
wlauto/common/android/workload.py
Normal file → Executable file
@@ -621,10 +621,12 @@ class AndroidUxPerfWorkload(AndroidUiAutoBenchmark):
|
||||
device_path = self._path_on_device(fpath)
|
||||
if self.force_push_assets or not self.device.file_exists(device_path):
|
||||
self.device.push_file(fpath, device_path, timeout=300)
|
||||
self.device.broadcast_media_mounted(self.device.working_directory)
|
||||
|
||||
def delete_assets(self):
|
||||
for f in self.deployable_assets:
|
||||
self.device.delete_file(self._path_on_device(f))
|
||||
self.device.broadcast_media_mounted(self.device.working_directory)
|
||||
|
||||
def __init__(self, device, **kwargs):
|
||||
super(AndroidUxPerfWorkload, self).__init__(device, **kwargs)
|
||||
|
Reference in New Issue
Block a user