|
|
|
|
81
|
await expect(elementByLabel('This is an external component')).toBeVisible();
|
81
|
await expect(elementByLabel('This is an external component')).toBeVisible();
|
82
|
await expect(elementById(testIDs.TOP_BAR_ELEMENT)).toBeVisible();
|
82
|
await expect(elementById(testIDs.TOP_BAR_ELEMENT)).toBeVisible();
|
83
|
});
|
83
|
});
|
|
|
84
|
+
|
|
|
85
|
+ it(':ios: set stack root component should be first in stack', async () => {
|
|
|
86
|
+ await elementById(testIDs.PUSH_BUTTON).tap();
|
|
|
87
|
+ await expect(elementByLabel('Stack Position: 1')).toBeVisible();
|
|
|
88
|
+ await elementById(testIDs.SET_STACK_ROOT_BUTTON).tap();
|
|
|
89
|
+ await expect(elementByLabel('Stack Position: 2')).toBeVisible();
|
|
|
90
|
+ await elementById(testIDs.POP_BUTTON).tap();
|
|
|
91
|
+ await expect(elementByLabel('Stack Position: 2')).toBeVisible();
|
|
|
92
|
+ });
|
|
|
93
|
+
|
84
|
});
|
94
|
});
|