forked from upstream-mirrors/OpenTracks
Remove confirmation dialog when sharing via Google Drive.
This commit is contained in:
-14
@@ -49,20 +49,6 @@ public class ShareTest extends ActivityInstrumentationTestCase2<TrackListActivit
|
||||
EndToEndTestUtils.setupForAllTest(instrumentation, activityMyTracks);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tests quitting the share.
|
||||
*/
|
||||
public void testQuitShare() {
|
||||
EndToEndTestUtils.resetAllSettings(activityMyTracks, false);
|
||||
EndToEndTestUtils.createTrackIfEmpty(0, false);
|
||||
|
||||
// Click share, check message and cancel the share.
|
||||
EndToEndTestUtils.findMenuItem(activityMyTracks.getString(R.string.menu_share), true);
|
||||
assertTrue(EndToEndTestUtils.SOLO.waitForText(activityMyTracks
|
||||
.getString(R.string.share_track_confirm_message)));
|
||||
EndToEndTestUtils.SOLO.clickOnText(activityMyTracks.getString(R.string.generic_no));
|
||||
}
|
||||
|
||||
/**
|
||||
* Tests the share one track.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user