mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-08 12:18:07 -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.util.Log;
|
||||
|
||||
import com.jayway.android.robotium.solo.Solo;
|
||||
|
||||
/**
|
||||
* Scenario Tests for the ServersActivity
|
||||
*
|
||||
@ -108,7 +111,7 @@ public class ServerListScenarios extends ActivityInstrumentationTestCase2
|
||||
solo.enterText(4, "YaaicBotium");
|
||||
solo.enterText(6, "Robotium and Yaaic");
|
||||
|
||||
solo.clickOnButton(4);
|
||||
solo.clickOnButton(solo.getString(R.string.server_save));
|
||||
|
||||
solo.waitForActivity("ServersActivity", 1000);
|
||||
solo.assertCurrentActivity("Switched back to ServersActivity", "ServersActivity");
|
||||
|
Loading…
Reference in New Issue
Block a user