|
@@ -2,7 +2,7 @@ const Utils = require('./Utils');
|
2
|
2
|
const testIDs = require('../playground/src/testIDs');
|
3
|
3
|
const { elementByLabel, elementById } = Utils;
|
4
|
4
|
|
5
|
|
-describe('static lifecycle events', () => {
|
|
5
|
+describe.only('static lifecycle events', () => {
|
6
|
6
|
beforeEach(async () => {
|
7
|
7
|
await device.relaunchApp();
|
8
|
8
|
});
|
|
@@ -16,7 +16,7 @@ describe('static lifecycle events', () => {
|
16
|
16
|
await expect(elementByLabel('componentDidDisappear | navigation.playground.WelcomeScreen')).toBeVisible();
|
17
|
17
|
});
|
18
|
18
|
|
19
|
|
- xit('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();
|