|
@@ -16,6 +16,13 @@ describe('screen stack', () => {
|
16
|
16
|
await expect(elementById(testIDs.WELCOME_SCREEN_HEADER)).toBeVisible();
|
17
|
17
|
});
|
18
|
18
|
|
|
19
|
+ it('push and pop screen with out animation', async () => {
|
|
20
|
+ await elementById(testIDs.PUSH_OPTIONS_BUTTON).tap();
|
|
21
|
+ await expect(elementById(testIDs.OPTIONS_SCREEN_HEADER)).toBeVisible();
|
|
22
|
+ Android.pressBack();
|
|
23
|
+ await expect(elementById(testIDs.WELCOME_SCREEN_HEADER)).toBeVisible();
|
|
24
|
+ });
|
|
25
|
+
|
19
|
26
|
it('pop screen deep in the stack', async () => {
|
20
|
27
|
await elementById(testIDs.PUSH_BUTTON).tap();
|
21
|
28
|
await expect(elementByLabel('Stack Position: 1')).toBeVisible();
|