1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-04-22 10:35:30 +01:00

6 Commits

Author SHA1 Message Date
Luis Machado
0cdccc137e [workloads/jetnews] Restore test default timeout, repeat count and fling speed 2024-11-13 17:55:56 +00:00
Luis Machado
c9ffbfb7cf [workloads/jetnews] Improve reliability of object detection
I noticed we were sometimes getting stale object exceptions. To help prevent
that situation from happening, pass around resource id's for the objects and
only fetch an instance of the objects whenever we need to click/scroll.

This means the time between fetching the object and using it is short, and
hopefully the object won't go stale or get recycled in that brief moment,
preventing the stale exceptions.
2024-11-13 17:48:41 +00:00
Luis Machado
5180fed72f [workloads/jetnews] Harden JetNews testing to cope with tablets/small phones
On tablets we have a landscape view by default, so we need to account for that
in our tests. On smaller phones, the landscape mode doesn't show the article
preview.

On both tablets and small screen phones, we need to be mindful of scrolling
too fast and missing an element we're looking for, either because a bigger
screen means we scroll faster or because a smaller screen means only a few
items are shown at one time.
2024-11-05 11:35:09 +00:00
Luis Machado
761cab17c9 [workload/JetNews] Update timestamp for gradle-wrapper.properties file.
Update timestamp to match date the file was created.
2024-08-29 11:09:37 +01:00
Luis Machado
9212b7f051 [workload/JetNews] Address reviewer comments
- Add JetNews workload description.
- Fixup copyright years.
- Adjust formatting.
- Add constraints to the workload's parameters.
- Fix comment typos.
- Remove unused commented-out code from app/build.gradle.
2024-07-26 15:45:51 +01:00
Luis Machado
b38e64a2a8 [workloads] Add JetNews jank tests workload
This patch adds the JetNews jank-testing workload. This is accomplished
through the uiauto helper library and the jank test classes.

This workload requires a JetNews app APK to be available. We plan to
make it available through the workload-automation-assets repo.

At the end of the run, users should end up with a json file containing all
the frame/jank metrics.

There are 3 parameters for this workload:

- tests: Specifies which of the 3 available tests to run (default is to run
         all of them)

- flingspeed: The speed of the fling interactions.

- repeat: How many times each of the selected tests is to be executed in a
          single measuring session.
2024-07-16 14:38:24 +01:00