mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-10-31 23:22:14 +00:00
Updated workload versions to match APK files
Some workloads presented a different version than what was in the APK file.
With the changes introduced in bb33123 several workloads broke.
This commit is contained in:
@@ -66,7 +66,7 @@ public class UiAutomation extends BaseUiAutomation {
|
||||
while (true) {
|
||||
if(version.equals("6.0.1"))
|
||||
hitTestButtonVersion5(TestButton6);
|
||||
else if (version.equals("5.3.0")) {
|
||||
else if (version.equals("5.3")) {
|
||||
hitTestButton();
|
||||
hitTestButtonVersion5(TestButton5);
|
||||
}
|
||||
@@ -308,7 +308,7 @@ public class UiAutomation extends BaseUiAutomation {
|
||||
|
||||
public void returnToTestScreen(String version) throws Exception {
|
||||
getUiDevice().pressBack();
|
||||
if (version.equals("5.3.0"))
|
||||
if (version.equals("5.3"))
|
||||
{
|
||||
UiSelector selector = new UiSelector();
|
||||
UiObject detailsButton = new UiObject(new UiSelector().className("android.widget.Button")
|
||||
|
||||
Reference in New Issue
Block a user