|
@@ -57,14 +57,14 @@ describe('screen style', () => {
|
57
|
57
|
await expect(element(by.text('TeSt'))).toBeVisible();
|
58
|
58
|
});
|
59
|
59
|
|
60
|
|
- test('hide Tab Bar', async () => {
|
|
60
|
+ test(':android: hide Tab Bar', async () => {
|
61
|
61
|
await elementById(testIDs.TAB_BASED_APP_BUTTON).tap();
|
62
|
62
|
await expect(elementById(testIDs.BOTTOM_TABS_ELEMENT)).toBeVisible();
|
63
|
63
|
await elementById(testIDs.HIDE_BOTTOM_TABS_BUTTON).tap();
|
64
|
64
|
await expect(elementById(testIDs.BOTTOM_TABS_ELEMENT)).toBeNotVisible();
|
65
|
65
|
});
|
66
|
66
|
|
67
|
|
- test('show Tab Bar', async () => {
|
|
67
|
+ test(':android: show Tab Bar', async () => {
|
68
|
68
|
await elementById(testIDs.TAB_BASED_APP_BUTTON).tap();
|
69
|
69
|
await elementById(testIDs.HIDE_BOTTOM_TABS_BUTTON).tap();
|
70
|
70
|
await expect(elementById(testIDs.BOTTOM_TABS_ELEMENT)).toBeNotVisible();
|
|
@@ -72,6 +72,14 @@ describe('screen style', () => {
|
72
|
72
|
await expect(elementById(testIDs.BOTTOM_TABS_ELEMENT)).toBeVisible();
|
73
|
73
|
});
|
74
|
74
|
|
|
75
|
+ test('hide Tab Bar on push', async () => {
|
|
76
|
+ await elementById(testIDs.TAB_BASED_APP_BUTTON).tap();
|
|
77
|
+ await elementById(testIDs.HIDE_BOTTOM_TABS_ON_PUSH_BUTTON).tap();
|
|
78
|
+ await expect(elementById(testIDs.BOTTOM_TABS_ELEMENT)).toBeNotVisible();
|
|
79
|
+ await elementById(testIDs.POP_BUTTON).tap();
|
|
80
|
+ await expect(elementById(testIDs.BOTTOM_TABS_ELEMENT)).toBeVisible();
|
|
81
|
+ });
|
|
82
|
+
|
75
|
83
|
test('side menu visibility - left', async () => {
|
76
|
84
|
await elementById(testIDs.TAB_BASED_APP_SIDE_BUTTON).tap();
|
77
|
85
|
await elementById(testIDs.SHOW_LEFT_SIDE_MENU_BUTTON).tap();
|