Skip to content

Commit 5f7e5bd

Browse files
authored
fix: media auto-download options are not visible in bottom sheet (#7374)
1 parent 6c78138 commit 5f7e5bd

7 files changed

Lines changed: 84 additions & 76 deletions

File tree

.maestro/tests/assorted/setting.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,54 @@ tags:
6666
# should have media auto-download
6767
- assertVisible:
6868
id: 'settings-view-media-auto-download'
69+
- tapOn:
70+
id: 'settings-view-media-auto-download'
71+
- extendedWaitUntil:
72+
visible:
73+
id: 'media-auto-download-image'
74+
timeout: 60000
75+
76+
# check options in image picker
77+
- tapOn:
78+
id: 'media-auto-download-image'
79+
- assertVisible:
80+
id: 'media-auto-download-image-wifi_mobile_data'
81+
- assertVisible:
82+
id: 'media-auto-download-image-wifi'
83+
- assertVisible:
84+
id: 'media-auto-download-image-never'
85+
- tapOn:
86+
id: 'action-sheet-handle'
87+
88+
# check options in video picker
89+
- tapOn:
90+
id: 'media-auto-download-video'
91+
- assertVisible:
92+
id: 'media-auto-download-video-wifi_mobile_data'
93+
- assertVisible:
94+
id: 'media-auto-download-video-wifi'
95+
- assertVisible:
96+
id: 'media-auto-download-video-never'
97+
- tapOn:
98+
id: 'action-sheet-handle'
99+
100+
# check options in audio picker
101+
- tapOn:
102+
id: 'media-auto-download-audio'
103+
- assertVisible:
104+
id: 'media-auto-download-audio-wifi_mobile_data'
105+
- assertVisible:
106+
id: 'media-auto-download-audio-wifi'
107+
- assertVisible:
108+
id: 'media-auto-download-audio-never'
109+
- tapOn:
110+
id: 'action-sheet-handle'
111+
- runFlow:
112+
file: '../../helpers/go-back.yaml'
113+
- extendedWaitUntil:
114+
visible:
115+
id: 'settings-view'
116+
timeout: 60000
69117

70118
# should have license
71119
- assertVisible:

app/containers/List/ListItem.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ const shouldDisableAccessibility = process.env.RUNNING_E2E_TESTS === 'true' && i
2727

2828
const styles = StyleSheet.create({
2929
container: {
30-
flex: 1,
3130
flexDirection: 'row',
3231
alignItems: 'center',
3332
justifyContent: 'center',

0 commit comments

Comments
 (0)