Skip to content

Commit

Permalink
Fixed connected test
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Medeiros committed Dec 9, 2014
1 parent 0bf9fda commit 295ad2e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ protected void setUp() throws Exception {
public void test_shouldShowBookTitle() throws Exception {
TextView titleText = (TextView) solo.getView(R.id.title);
assertEquals(View.VISIBLE, titleText.getVisibility());
assertNotSame("How Rx will Change the World", titleText.getText().toString());
solo.sleep(1000);
assertEquals("How Rx will Change the World", titleText.getText().toString());
assertEquals(titleText.getText().toString().startsWith("Biography of"), true);
}
}

0 comments on commit 295ad2e

Please sign in to comment.