mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-09 04:38:08 -05:00
ServerListScenarios: Fix testAddingAndRemovingServer() test case.
This commit is contained in:
parent
d1d23ecb04
commit
29e102b5d0
@ -22,10 +22,13 @@ package org.yaaic.test.scenario;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
import com.jayway.android.robotium.solo.Solo;
|
import org.yaaic.R;
|
||||||
|
|
||||||
import android.test.ActivityInstrumentationTestCase2;
|
import android.test.ActivityInstrumentationTestCase2;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
|
import com.jayway.android.robotium.solo.Solo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Scenario Tests for the ServersActivity
|
* Scenario Tests for the ServersActivity
|
||||||
*
|
*
|
||||||
@ -108,7 +111,7 @@ public class ServerListScenarios extends ActivityInstrumentationTestCase2
|
|||||||
solo.enterText(4, "YaaicBotium");
|
solo.enterText(4, "YaaicBotium");
|
||||||
solo.enterText(6, "Robotium and Yaaic");
|
solo.enterText(6, "Robotium and Yaaic");
|
||||||
|
|
||||||
solo.clickOnButton(4);
|
solo.clickOnButton(solo.getString(R.string.server_save));
|
||||||
|
|
||||||
solo.waitForActivity("ServersActivity", 1000);
|
solo.waitForActivity("ServersActivity", 1000);
|
||||||
solo.assertCurrentActivity("Switched back to ServersActivity", "ServersActivity");
|
solo.assertCurrentActivity("Switched back to ServersActivity", "ServersActivity");
|
||||||
|
Loading…
Reference in New Issue
Block a user