|
@@ -16,11 +16,11 @@ describe('static lifecycle events', () => {
|
16
|
16
|
await expect(elementByLabel('componentDidDisappear | navigation.playground.WelcomeScreen')).toBeVisible();
|
17
|
17
|
});
|
18
|
18
|
|
19
|
|
- it(':android: unmounts when dismissed', async () => {
|
|
19
|
+ it('unmounts when dismissed', async () => {
|
20
|
20
|
await elementById(testIDs.PUSH_STATIC_LIFECYCLE_BUTTON).tap();
|
21
|
21
|
await expect(elementByLabel('Static Lifecycle Events Overlay')).toBeVisible();
|
22
|
22
|
await elementById(testIDs.DISMISS_BUTTON).tap();
|
23
|
23
|
await expect(elementByLabel('Overlay Unmounted')).toBeVisible();
|
24
|
|
- await elementById(testIDs.OK_BUTTON).tap();
|
|
24
|
+ await elementByLabel('OK').tap();
|
25
|
25
|
});
|
26
|
26
|
});
|