mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
TST: close Marketplace with NavigationCloseButton button
This commit is contained in:
parent
daf8cf5b9a
commit
0f77e34848
@ -21,7 +21,7 @@ const navigationStyle = ({ closeButton = false, closeButtonFunc, ...opts }, form
|
||||
navigation.goBack(null);
|
||||
};
|
||||
headerRight = () => (
|
||||
<TouchableOpacity style={styles.button} onPress={handleClose}>
|
||||
<TouchableOpacity style={styles.button} onPress={handleClose} testID="NavigationCloseButton">
|
||||
<Image source={theme.closeImage} />
|
||||
</TouchableOpacity>
|
||||
);
|
||||
|
@ -575,8 +575,7 @@ describe('BlueWallet UI Tests', () => {
|
||||
await element(by.id('WalletDetailsScroll')).swipe('up', 'fast', 1);
|
||||
await element(by.id('Marketplace')).tap();
|
||||
await expect(element(by.id('MarketplaceWebView'))).toBeVisible();
|
||||
await device.pressBack();
|
||||
await device.pressBack();
|
||||
await element(by.id('NavigationCloseButton')).tap();
|
||||
|
||||
// Broadcast
|
||||
await element(by.id('WalletDetailsScroll')).swipe('up', 'fast', 1);
|
||||
|
Loading…
Reference in New Issue
Block a user