|
|
|
|
16
|
await expect(elementByLabel('componentDidDisappear | navigation.playground.WelcomeScreen')).toBeVisible();
|
16
|
await expect(elementByLabel('componentDidDisappear | navigation.playground.WelcomeScreen')).toBeVisible();
|
17
|
});
|
17
|
});
|
18
|
|
18
|
|
19
|
- it('pushing and poping screen dispatch static event', async () => {
|
|
|
|
|
19
|
+ it(':ios: pushing and popping screen dispatch static event', async () => {
|
20
|
await elementById(testIDs.PUSH_STATIC_LIFECYCLE_BUTTON).tap();
|
20
|
await elementById(testIDs.PUSH_STATIC_LIFECYCLE_BUTTON).tap();
|
21
|
await expect(elementByLabel('Static Lifecycle Events Overlay')).toBeVisible();
|
21
|
await expect(elementByLabel('Static Lifecycle Events Overlay')).toBeVisible();
|
22
|
await expect(elementByLabel('componentDidAppear | navigation.playground.StaticLifecycleOverlay')).toBeVisible();
|
22
|
await expect(elementByLabel('componentDidAppear | navigation.playground.StaticLifecycleOverlay')).toBeVisible();
|
|
|
|
|
26
|
await expect(elementByLabel('pop')).toBeVisible();
|
26
|
await expect(elementByLabel('pop')).toBeVisible();
|
27
|
});
|
27
|
});
|
28
|
|
28
|
|
29
|
- it('showModal and dismissModal dispatch static event', async () => {
|
|
|
|
|
29
|
+ it(':ios: showModal and dismissModal dispatch static event', async () => {
|
30
|
await elementById(testIDs.PUSH_STATIC_LIFECYCLE_BUTTON).tap();
|
30
|
await elementById(testIDs.PUSH_STATIC_LIFECYCLE_BUTTON).tap();
|
31
|
await expect(elementByLabel('Static Lifecycle Events Overlay')).toBeVisible();
|
31
|
await expect(elementByLabel('Static Lifecycle Events Overlay')).toBeVisible();
|
32
|
await expect(elementByLabel('componentDidAppear | navigation.playground.StaticLifecycleOverlay')).toBeVisible();
|
32
|
await expect(elementByLabel('componentDidAppear | navigation.playground.StaticLifecycleOverlay')).toBeVisible();
|