Browse Source

More overlay e2e to separate file

Guy Carmeli 6 years ago
parent
commit
c23b1faa2a
1 changed files with 0 additions and 26 deletions
  1. 0
    26
      e2e/ScreenStack.test.js

+ 0
- 26
e2e/ScreenStack.test.js View File

@@ -60,32 +60,6 @@ describe('screen stack', () => {
60 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 63
   it('push stack with multiple children', async () => {
90 64
     await elementById(testIDs.SHOW_MODAL_BUTTON).tap();
91 65
     await elementById(testIDs.MODAL_WITH_STACK_BUTTON).tap();