22
22
import org .json .JSONObject ;
23
23
import org .junit .Assert ;
24
24
import org .junit .Before ;
25
+ import org .junit .Ignore ;
25
26
import org .junit .Rule ;
26
27
import org .junit .Test ;
27
28
import org .junit .runner .RunWith ;
@@ -128,6 +129,7 @@ public void checkIfMessageShownAsActivity() throws Exception {
128
129
intended (hasComponent (IterableInboxMessageActivity .class .getName ()));
129
130
}
130
131
132
+ @ Ignore ("Ignoring tests needing to find webView through forceJavascriptEnabled()" )
131
133
@ Test
132
134
public void checkIfMessageShownAsPopUpForImproperIntent () throws Exception {
133
135
JSONObject payload = new JSONObject (IterableTestUtils .getResourceString ("editable_get_messages_response.json" ));
@@ -149,6 +151,7 @@ public void checkIfMessageShownAsPopUpForImproperIntent() throws Exception {
149
151
onWebView ().withElement (findElement (Locator .XPATH , "//*[contains(text(),'Ok, got it')]" ));
150
152
}
151
153
154
+ @ Ignore ("Ignoring tests needing to find webView through forceJavascriptEnabled()" )
152
155
@ Test
153
156
public void checkIfMessageShownAsPopUpForUnexpectedIntent () throws Exception {
154
157
JSONObject payload = new JSONObject (IterableTestUtils .getResourceString ("editable_get_messages_response.json" ));
@@ -170,6 +173,7 @@ public void checkIfMessageShownAsPopUpForUnexpectedIntent() throws Exception {
170
173
onWebView ().withElement (findElement (Locator .XPATH , "//*[contains(text(),'Ok, got it')]" ));
171
174
}
172
175
176
+ @ Ignore ("Ignoring tests needing to find webView through forceJavascriptEnabled()" )
173
177
@ Test
174
178
public void checkIfMessageShownAsPopUpForNoIntent () throws Exception {
175
179
JSONObject payload = new JSONObject (IterableTestUtils .getResourceString ("editable_get_messages_response.json" ));
@@ -188,6 +192,7 @@ public void checkIfMessageShownAsPopUpForNoIntent() throws Exception {
188
192
onWebView ().withElement (findElement (Locator .XPATH , "//*[contains(text(),'Ok, got it')]" ));
189
193
}
190
194
195
+ @ Ignore ("Ignoring tests needing to find webView through forceJavascriptEnabled()" )
191
196
@ Test
192
197
public void checkIfMessageShownAsPopUp () throws Exception {
193
198
JSONObject payload = new JSONObject (IterableTestUtils .getResourceString ("editable_get_messages_response.json" ));
0 commit comments