|
|
|
|
60
|
await expect(elementByLabel('This is tab 1')).toBeVisible();
|
60
|
await expect(elementByLabel('This is tab 1')).toBeVisible();
|
61
|
});
|
61
|
});
|
62
|
|
62
|
|
63
|
- it('show and dismiss overlay', async () => {
|
|
|
64
|
- await elementById(testIDs.PUSH_OPTIONS_BUTTON).tap();
|
|
|
65
|
- await elementById(testIDs.SHOW_OVERLAY_BUTTON).tap();
|
|
|
66
|
- await expect(elementById(testIDs.DIALOG_HEADER)).toBeVisible();
|
|
|
67
|
- await elementById(testIDs.OK_BUTTON).tap();
|
|
|
68
|
- await expect(elementById(testIDs.DIALOG_HEADER)).toBeNotVisible();
|
|
|
69
|
- });
|
|
|
70
|
-
|
|
|
71
|
- it('overlay pass touches - true', async () => {
|
|
|
72
|
- await elementById(testIDs.PUSH_OPTIONS_BUTTON).tap();
|
|
|
73
|
- await elementById(testIDs.SHOW_TOUCH_THROUGH_OVERLAY_BUTTON).tap();
|
|
|
74
|
- await expect(elementById(testIDs.DIALOG_HEADER)).toBeVisible();
|
|
|
75
|
- await expect(elementById(testIDs.TOP_BAR_ELEMENT)).toBeVisible();
|
|
|
76
|
- await elementById(testIDs.HIDE_TOP_BAR_BUTTON).tap();
|
|
|
77
|
- await expect(elementById(testIDs.TOP_BAR_ELEMENT)).toBeNotVisible();
|
|
|
78
|
- });
|
|
|
79
|
-
|
|
|
80
|
- it('overlay pass touches - false', async () => {
|
|
|
81
|
- await elementById(testIDs.PUSH_OPTIONS_BUTTON).tap();
|
|
|
82
|
- await elementById(testIDs.SHOW_OVERLAY_BUTTON).tap();
|
|
|
83
|
- await expect(elementById(testIDs.DIALOG_HEADER)).toBeVisible();
|
|
|
84
|
- await expect(elementById(testIDs.TOP_BAR_ELEMENT)).toBeVisible();
|
|
|
85
|
- await elementById(testIDs.HIDE_TOP_BAR_BUTTON).tap();
|
|
|
86
|
- await expect(elementById(testIDs.TOP_BAR_ELEMENT)).toBeVisible();
|
|
|
87
|
- });
|
|
|
88
|
-
|
|
|
89
|
it('push stack with multiple children', async () => {
|
63
|
it('push stack with multiple children', async () => {
|
90
|
await elementById(testIDs.SHOW_MODAL_BUTTON).tap();
|
64
|
await elementById(testIDs.SHOW_MODAL_BUTTON).tap();
|
91
|
await elementById(testIDs.MODAL_WITH_STACK_BUTTON).tap();
|
65
|
await elementById(testIDs.MODAL_WITH_STACK_BUTTON).tap();
|