@@ -30,7 +30,9 @@ describe('Async Storage', () => {
30
30
31
31
describe ( 'get / set / clear item test' , ( ) => {
32
32
beforeAll ( async ( ) => {
33
- await device . openURL ( { url : 'rnc-asyncstorage://unset-delegate' } ) ;
33
+ if ( device . getPlatform ( ) === 'ios' ) {
34
+ await device . openURL ( { url : 'rnc-asyncstorage://unset-delegate' } ) ;
35
+ }
34
36
} ) ;
35
37
36
38
it ( 'should be visible' , async ( ) => {
@@ -71,7 +73,9 @@ describe('Async Storage', () => {
71
73
72
74
describe ( 'merge item test' , ( ) => {
73
75
beforeAll ( async ( ) => {
74
- await device . openURL ( { url : 'rnc-asyncstorage://unset-delegate' } ) ;
76
+ if ( device . getPlatform ( ) === 'ios' ) {
77
+ await device . openURL ( { url : 'rnc-asyncstorage://unset-delegate' } ) ;
78
+ }
75
79
} ) ;
76
80
77
81
it ( 'should be visible' , async ( ) => {
@@ -151,7 +155,9 @@ describe('Async Storage', () => {
151
155
152
156
describe ( 'get / set / clear item delegate test' , ( ) => {
153
157
beforeAll ( async ( ) => {
154
- await device . openURL ( { url : 'rnc-asyncstorage://set-delegate' } ) ;
158
+ if ( device . getPlatform ( ) === 'ios' ) {
159
+ await device . openURL ( { url : 'rnc-asyncstorage://set-delegate' } ) ;
160
+ }
155
161
} ) ;
156
162
157
163
it ( 'should be visible' , async ( ) => {
@@ -192,7 +198,9 @@ describe('Async Storage', () => {
192
198
193
199
describe ( 'merge item delegate test' , ( ) => {
194
200
beforeAll ( async ( ) => {
195
- await device . openURL ( { url : 'rnc-asyncstorage://set-delegate' } ) ;
201
+ if ( device . getPlatform ( ) === 'ios' ) {
202
+ await device . openURL ( { url : 'rnc-asyncstorage://set-delegate' } ) ;
203
+ }
196
204
} ) ;
197
205
198
206
it ( 'should be visible' , async ( ) => {
@@ -207,6 +215,11 @@ describe('Async Storage', () => {
207
215
} ) ;
208
216
209
217
it ( 'should crash when merging items in async storage' , async ( ) => {
218
+ if ( device . getPlatform ( ) === 'android' ) {
219
+ // Not yet supported.
220
+ return ;
221
+ }
222
+
210
223
const buttonMergeItem = await element ( by . id ( 'mergeItem_button' ) ) ;
211
224
try {
212
225
await buttonMergeItem . tap ( ) ;
0 commit comments