|
@@ -35,14 +35,14 @@ describe('screen style', () => {
|
35
|
35
|
await expect(elementById(testIDs.TOP_BAR_ELEMENT)).toBeVisible();
|
36
|
36
|
});
|
37
|
37
|
|
38
|
|
- it('hides topBar onScroll down and shows it on scroll up', async () => {
|
|
38
|
+ it(':ios: hides topBar onScroll down and shows it on scroll up', async () => {
|
39
|
39
|
await elementById(testIDs.PUSH_OPTIONS_BUTTON).tap();
|
40
|
40
|
await elementById(testIDs.SCROLLVIEW_SCREEN_BUTTON).tap();
|
41
|
41
|
await elementById(testIDs.TOGGLE_TOP_BAR_HIDE_ON_SCROLL).tap();
|
42
|
42
|
await expect(elementById(testIDs.TOP_BAR_ELEMENT)).toBeVisible();
|
43
|
|
- await element(by.id(testIDs.SCROLLVIEW_ELEMENT)).swipe('up', 'fast');
|
|
43
|
+ await element(by.id(testIDs.SCROLLVIEW_ELEMENT)).swipe('up', 'slow');
|
44
|
44
|
await expect(elementById(testIDs.TOP_BAR_ELEMENT)).toBeNotVisible();
|
45
|
|
- await element(by.id(testIDs.SCROLLVIEW_ELEMENT)).swipe('down', 'fast');
|
|
45
|
+ await element(by.id(testIDs.SCROLLVIEW_ELEMENT)).swipe('down', 'slow');
|
46
|
46
|
await expect(elementById(testIDs.TOP_BAR_ELEMENT)).toBeVisible();
|
47
|
47
|
});
|
48
|
48
|
|
|
@@ -52,14 +52,14 @@ describe('screen style', () => {
|
52
|
52
|
await expect(element(by.text('TeSt'))).toBeVisible();
|
53
|
53
|
});
|
54
|
54
|
|
55
|
|
- it('hide Tab Bar', async () => {
|
|
55
|
+ it(':ios: hide Tab Bar', async () => {
|
56
|
56
|
await elementById(testIDs.TAB_BASED_APP_BUTTON).tap();
|
57
|
57
|
await expect(elementById(testIDs.BOTTOM_TABS_ELEMENT)).toBeVisible();
|
58
|
58
|
await elementById(testIDs.HIDE_BOTTOM_TABS_BUTTON).tap();
|
59
|
59
|
await expect(elementById(testIDs.BOTTOM_TABS_ELEMENT)).toBeNotVisible();
|
60
|
60
|
});
|
61
|
61
|
|
62
|
|
- it('show Tab Bar', async () => {
|
|
62
|
+ it(':ios: show Tab Bar', async () => {
|
63
|
63
|
await elementById(testIDs.TAB_BASED_APP_BUTTON).tap();
|
64
|
64
|
await elementById(testIDs.HIDE_BOTTOM_TABS_BUTTON).tap();
|
65
|
65
|
await expect(elementById(testIDs.BOTTOM_TABS_ELEMENT)).toBeNotVisible();
|
|
@@ -67,7 +67,7 @@ describe('screen style', () => {
|
67
|
67
|
await expect(elementById(testIDs.BOTTOM_TABS_ELEMENT)).toBeVisible();
|
68
|
68
|
});
|
69
|
69
|
|
70
|
|
- it('side menu visibility - left', async () => {
|
|
70
|
+ it(':ios: side menu visibility - left', async () => {
|
71
|
71
|
await elementById(testIDs.TAB_BASED_APP_SIDE_BUTTON).tap();
|
72
|
72
|
await elementById(testIDs.SHOW_LEFT_SIDE_MENU_BUTTON).tap();
|
73
|
73
|
await expect(elementById(testIDs.HIDE_LEFT_SIDE_MENU_BUTTON)).toBeVisible();
|
|
@@ -75,7 +75,7 @@ describe('screen style', () => {
|
75
|
75
|
await expect(elementById(testIDs.CENTERED_TEXT_HEADER)).toBeVisible();
|
76
|
76
|
});
|
77
|
77
|
|
78
|
|
- it('side menu visibility - right', async () => {
|
|
78
|
+ it(':ios: side menu visibility - right', async () => {
|
79
|
79
|
await elementById(testIDs.TAB_BASED_APP_SIDE_BUTTON).tap();
|
80
|
80
|
await elementById(testIDs.SHOW_RIGHT_SIDE_MENU_BUTTON).tap();
|
81
|
81
|
await expect(elementById(testIDs.HIDE_RIGHT_SIDE_MENU_BUTTON)).toBeVisible();
|
|
@@ -83,7 +83,7 @@ describe('screen style', () => {
|
83
|
83
|
await expect(elementById(testIDs.CENTERED_TEXT_HEADER)).toBeVisible();
|
84
|
84
|
});
|
85
|
85
|
|
86
|
|
- it('set right buttons', async () => {
|
|
86
|
+ it(':ios: set right buttons', async () => {
|
87
|
87
|
await elementById(testIDs.PUSH_OPTIONS_BUTTON).tap();
|
88
|
88
|
await expect(elementById('buttonOne')).toBeVisible();
|
89
|
89
|
await elementById('buttonOne').tap();
|