TST: Fix detox test

This commit is contained in:
Marcos Rodriguez Vélez 2021-08-19 12:30:19 -04:00
parent a30c1aa23d
commit 8f73647f8d
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ const NetworkSettings = () => {
<ScrollView>
<BlueListItem title={loc.is_it_my_address.title} onPress={navigateToIsItMyAddress} testID="IsItMyAddress" chevron />
<BlueListItem title={loc.settings.network_broadcast} onPress={navigateToBroadcast} testID="Broadcast" chevron />
<BlueListItem title={loc.hodl.local_trader} onPress={navigateToLocalTrader} testID="Broadcast" chevron />
<BlueListItem title={loc.hodl.local_trader} onPress={navigateToLocalTrader} testID="LocalTrader" chevron />
</ScrollView>
</SafeBlueArea>
);

View File

@ -29,7 +29,7 @@ describe('BlueWallet UI Tests', () => {
process.env.TRAVIS && require('fs').writeFileSync(lockFile, '1');
});
it('all settings screens are works', async () => {
it('all settings screens work', async () => {
const lockFile = '/tmp/travislock.' + hashIt(jasmine.currentTest.fullName);
if (process.env.TRAVIS) {
if (require('fs').existsSync(lockFile))