Skip to content

Commit

Permalink
test(app): fix buttons out-of-layout issue (visibility error on test).
Browse files Browse the repository at this point in the history
  • Loading branch information
asafkorem committed Nov 13, 2024
1 parent 8e5fb44 commit d48482d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions detox/test/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,22 @@ export default class example extends Component {
{this.renderScreenButton('Switch Root', Screens.SwitchRootScreen)}
{this.renderScreenButton('Timeouts', Screens.TimeoutsScreen)}
{this.renderScreenButton('Orientation', Screens.Orientation)}

<View style={{flexDirection: 'row', justifyContent: 'center'}}>
{this.renderScreenButton('Permissions', Screens.Permissions)}
{this.renderInlineSeparator()}
{this.renderScreenButton('Alerts', Screens.AlertScreen)}
</View>

{this.renderScreenButton('Network', Screens.NetworkScreen)}
{this.renderAnimationScreenButtons()}
{this.renderScreenButton('Device', Screens.DeviceScreen)}
{this.renderScreenButton('Device Tap', Screens.DeviceTapScreen)}

<View style={{flexDirection: 'row', justifyContent: 'center'}}>
{this.renderScreenButton('Device', Screens.DeviceScreen)}
{this.renderInlineSeparator()}
{this.renderScreenButton('Device Tap', Screens.DeviceTapScreen)}
</View>

{isIos && this.renderScreenButton('Overlay', Screens.OverlayScreen)}
{this.renderScreenButton('Location', Screens.LocationScreen)}
{this.renderScreenButton('DatePicker', Screens.DatePickerScreen)}
Expand Down

0 comments on commit d48482d

Please sign in to comment.