2 Test files remaining in assorted
This commit is contained in:
parent
bfc0731fdf
commit
1d08b2c8c9
|
@ -69,6 +69,7 @@ export default class DirectoryOptions extends PureComponent {
|
|||
onPress={() => changeType(itemType)}
|
||||
style={styles.dropdownItemButton}
|
||||
theme={theme}
|
||||
accessibilityLabel={I18n.t(text)}
|
||||
>
|
||||
<View style={styles.dropdownItemContainer}>
|
||||
<CustomIcon style={[styles.dropdownItemIcon, { color: themes[theme].bodyText }]} size={22} name={icon} />
|
||||
|
@ -97,7 +98,7 @@ export default class DirectoryOptions extends PureComponent {
|
|||
<Animated.View style={[styles.backdrop, { backgroundColor: themes[theme].backdropColor, opacity: backdropOpacity }]} />
|
||||
</TouchableWithoutFeedback>
|
||||
<Animated.View style={[styles.dropdownContainer, { transform: [{ translateY }], backgroundColor: themes[theme].backgroundColor }]}>
|
||||
<Touch onPress={this.close} theme={theme}>
|
||||
<Touch onPress={this.close} theme={theme} accessibilityLabel={I18n.t('Search_by')}>
|
||||
<View style={[styles.dropdownContainerHeader, styles.dropdownItemContainer, { borderColor: themes[theme].separatorColor }]}>
|
||||
<Text style={[styles.dropdownToggleText, { color: themes[theme].auxiliaryText }]}>{I18n.t('Search_by')}</Text>
|
||||
<CustomIcon style={[styles.dropdownItemIcon, styles.inverted, { color: themes[theme].auxiliaryTintColor }]} size={22} name='chevron-down' />
|
||||
|
|
|
@ -5,6 +5,7 @@ const data = require('../../data');
|
|||
const { navigateToLogin, login, checkServer } = require('../../helpers/app');
|
||||
|
||||
const reopenAndCheckServer = async(server) => {
|
||||
await device.terminateApp();
|
||||
await device.launchApp({ permissions: { notifications: 'YES' } });
|
||||
await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(6000);
|
||||
await checkServer(server);
|
||||
|
|
|
@ -32,6 +32,7 @@ describe('Delete server', () => {
|
|||
await element(by.id('register-view-username')).replaceText(data.registeringUser3.username);
|
||||
await element(by.id('register-view-email')).replaceText(data.registeringUser3.email);
|
||||
await element(by.id('register-view-password')).typeText(data.registeringUser3.password);
|
||||
await element(by.type('android.widget.ScrollView')).atIndex(0).swipe('up');
|
||||
await element(by.id('register-view-submit')).tap();
|
||||
await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(60000);
|
||||
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
"generate-source-maps-android": "bugsnag-sourcemaps",
|
||||
"postinstall": "patch-package && jetify",
|
||||
"detoxAD": "detox build -c android.experimental.play.dev.debug && detox test -c android.experimental.play.dev.debug",
|
||||
"detoxAR": "detox build -c android.experimental.play.dev.release && cd .. && detox test -c android.experimental.play.dev.release",
|
||||
"detoxAR": "detox build -c android.experimental.play.dev.release && detox test -c android.experimental.play.dev.release",
|
||||
"detoxADEmu": "detox build -c android.experimental.play.emu.debug && detox test -c android.experimental.play.emu.debug",
|
||||
"detoxAREmu": "detox build -c android.experimental.play.emu.release && cd .. && detox test -c android.experimental.play.emu.release"
|
||||
"detoxAREmu": "detox build -c android.experimental.play.emu.release && detox test -c android.experimental.play.emu.release"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
|
|
Loading…
Reference in New Issue