mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(tab): add support for custom tabstrip (#7580)
This commit is contained in:
@@ -230,6 +230,7 @@ export class BottomNavigationTest extends UITest<BottomNavigation> {
|
||||
public test_when_selecting_tab_natively_selectedIndex_is_updated_properly = function () {
|
||||
var tabView = this.testView;
|
||||
tabView.items = this._createContentItems(2);
|
||||
tabView.tabStrip = this._createTabStrip(2);
|
||||
this.waitUntilTestElementIsLoaded();
|
||||
|
||||
var expectedValue = 1;
|
||||
@@ -245,6 +246,7 @@ export class BottomNavigationTest extends UITest<BottomNavigation> {
|
||||
public test_when_selecting_tab_natively_selectedIndexChangedEvent_is_raised = function () {
|
||||
var tabView = this.testView;
|
||||
tabView.items = this._createContentItems(5);
|
||||
tabView.tabStrip = this._createTabStrip(5);
|
||||
this.waitUntilTestElementIsLoaded();
|
||||
|
||||
var expectedOldIndex = 3;
|
||||
|
||||
Reference in New Issue
Block a user