|
|
|
|
16
|
await expect(elementByLabel('componentDidDisappear | navigation.playground.WelcomeScreen')).toBeVisible();
|
16
|
await expect(elementByLabel('componentDidDisappear | navigation.playground.WelcomeScreen')).toBeVisible();
|
17
|
});
|
17
|
});
|
18
|
|
18
|
|
19
|
- it('unmounts when dismissed', async () => {
|
|
|
|
|
19
|
+ it(':ios: unmounts when dismissed', 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 elementById(testIDs.DISMISS_BUTTON).tap();
|
22
|
await elementById(testIDs.DISMISS_BUTTON).tap();
|