Skip to content

Commit 654847c

Browse files
committed
test update
1 parent f41a9ab commit 654847c

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

playground/e2e/TabsTogetherTest.test.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ describe('Tabs with Together flag', () => {
1515
});
1616

1717
it('should load all tabs when tabsAttachMode is together', async () => {
18-
await waitFor(elementById(TestIDs.TABS_TOGETHER_BTN))
19-
.toBeVisible()
20-
.whileElement(by.id(TestIDs.SCREEN_ROOT_LIST))
21-
.scroll(200, 'down');
2218
await elementById(TestIDs.TABS_TOGETHER_BTN).tap();
2319

2420
let found = false;

playground/src/screens/FirstBottomTabScreen.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ export default class FirstBottomTabScreen extends Component<NavigationProps, Nav
9595
testID={SWITCH_TAB_BY_COMPONENT_ID_BTN}
9696
onPress={this.switchTabByComponentId}
9797
/>
98+
<Button
99+
label="Tabs Together Test"
100+
testID={TABS_TOGETHER_BTN}
101+
onPress={this.launchTabsTogetherTest}
102+
/>
98103
<Button label="Set Badge" testID={SET_BADGE_BTN} onPress={() => this.setBadge('NEW')} />
99104
<Button label="Clear Badge" testID={CLEAR_BADGE_BTN} onPress={() => this.setBadge('')} />
100105
<Button label="Show Notification Dot" onPress={() => this.setNotificationDot(true)} />
@@ -110,11 +115,6 @@ export default class FirstBottomTabScreen extends Component<NavigationProps, Nav
110115
<Button label="Add border and shadow" onPress={this.modifyBottomTabs} />
111116
<Button label="Stylize" testID={STYLIZE_TABS_BTN} onPress={this.stylizeBottomTabs} />
112117
<Button label="Set Styled Root" testID={SET_ROOT_BTN} onPress={this.setStylizedRoot} />
113-
<Button
114-
label="Tabs Together Test"
115-
testID={TABS_TOGETHER_BTN}
116-
onPress={this.launchTabsTogetherTest}
117-
/>
118118

119119
<Text testID={MOUNTED_SCREENS_TEXT}>
120120
Mounted screens: {this.state.mountedBottomTabScreens.join(', ')}

0 commit comments

Comments
 (0)