Skip to content

Commit 9cf65a5

Browse files
committed
Merge branch 'master' into MOB-4190-version-3.4.4
2 parents 2b39447 + 9b0834c commit 9cf65a5

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

app/src/androidTest/java/com/iterable/iterableapi/MainActivityTest.java

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import org.json.JSONObject;
2323
import org.junit.Assert;
2424
import org.junit.Before;
25+
import org.junit.Ignore;
2526
import org.junit.Rule;
2627
import org.junit.Test;
2728
import org.junit.runner.RunWith;
@@ -128,6 +129,7 @@ public void checkIfMessageShownAsActivity() throws Exception {
128129
intended(hasComponent(IterableInboxMessageActivity.class.getName()));
129130
}
130131

132+
@Ignore ("Ignoring tests needing to find webView through forceJavascriptEnabled()")
131133
@Test
132134
public void checkIfMessageShownAsPopUpForImproperIntent() throws Exception {
133135
JSONObject payload = new JSONObject(IterableTestUtils.getResourceString("editable_get_messages_response.json"));
@@ -149,6 +151,7 @@ public void checkIfMessageShownAsPopUpForImproperIntent() throws Exception {
149151
onWebView().withElement(findElement(Locator.XPATH, "//*[contains(text(),'Ok, got it')]"));
150152
}
151153

154+
@Ignore ("Ignoring tests needing to find webView through forceJavascriptEnabled()")
152155
@Test
153156
public void checkIfMessageShownAsPopUpForUnexpectedIntent() throws Exception {
154157
JSONObject payload = new JSONObject(IterableTestUtils.getResourceString("editable_get_messages_response.json"));
@@ -170,6 +173,7 @@ public void checkIfMessageShownAsPopUpForUnexpectedIntent() throws Exception {
170173
onWebView().withElement(findElement(Locator.XPATH, "//*[contains(text(),'Ok, got it')]"));
171174
}
172175

176+
@Ignore ("Ignoring tests needing to find webView through forceJavascriptEnabled()")
173177
@Test
174178
public void checkIfMessageShownAsPopUpForNoIntent() throws Exception {
175179
JSONObject payload = new JSONObject(IterableTestUtils.getResourceString("editable_get_messages_response.json"));
@@ -188,6 +192,7 @@ public void checkIfMessageShownAsPopUpForNoIntent() throws Exception {
188192
onWebView().withElement(findElement(Locator.XPATH, "//*[contains(text(),'Ok, got it')]"));
189193
}
190194

195+
@Ignore ("Ignoring tests needing to find webView through forceJavascriptEnabled()")
191196
@Test
192197
public void checkIfMessageShownAsPopUp() throws Exception {
193198
JSONObject payload = new JSONObject(IterableTestUtils.getResourceString("editable_get_messages_response.json"));

iterableapi/src/test/java/com/iterable/iterableapi/IterableInAppManagerTest.java

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import org.json.JSONObject;
1717
import org.junit.After;
1818
import org.junit.Before;
19+
import org.junit.Ignore;
1920
import org.junit.Test;
2021
import org.mockito.ArgumentCaptor;
2122
import org.mockito.invocation.InvocationOnMock;
@@ -89,6 +90,7 @@ public void tearDown() throws IOException {
8990
IterableActivityMonitor.instance = new IterableActivityMonitor();
9091
}
9192

93+
@Ignore("Ignoring due to stalling")
9294
@Test
9395
public void testDoNotShowMultipleTimes() throws Exception {
9496
ActivityController<FragmentActivity> controller = Robolectric.buildActivity(FragmentActivity.class).create().start().resume();
@@ -102,6 +104,7 @@ public void testDoNotShowMultipleTimes() throws Exception {
102104
controller.pause().stop().destroy();
103105
}
104106

107+
@Ignore("Ignoring due to stalling")
105108
@Test
106109
public void testIfDialogDoesNotDestroysAfterConfigurationChange() throws Exception {
107110
ActivityController<FragmentActivity> controller = Robolectric.buildActivity(FragmentActivity.class).create().start().resume();
@@ -115,6 +118,7 @@ public void testIfDialogDoesNotDestroysAfterConfigurationChange() throws Excepti
115118
controller.pause().stop().destroy();
116119
}
117120

121+
@Ignore("Ignoring due to stalling")
118122
@Test
119123
public void testIfDialogFragmentExistAfterRotation() throws Exception {
120124
ActivityController controller = Robolectric.buildActivity(FragmentActivity.class).create().start().resume();

0 commit comments

Comments
 (0)