Commit 661444e1 authored by Juan Garrido Blay's avatar Juan Garrido Blay

SER 266 Modify method to create sync account on 2 devices

parent d9b955ec
......@@ -163,8 +163,8 @@ public class CucumberTestSteps {
@When(value = "^I created an account$")
public void I_create_account() {
boolean isKeySync = false;
device.waitForIdle();
testUtils.readConfigFile();
if (!exists(onView(withId(R.id.accounts_list))) && !exists(onView(withId(android.R.id.list)))) {
testUtils.createAccount();
} else if (exists(onView(withId(R.id.add_account_container)))){
......@@ -176,7 +176,7 @@ public class CucumberTestSteps {
Timber.i("Cannot get accounts list size: " + ex.getMessage());
}
if (accounts[0] == 0) {
testUtils.createNAccounts(testUtils.getTotalAccounts());
testUtils.createNAccounts(testUtils.getTotalAccounts(), isKeySync);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment