export default class TabBar { static async openHome ( ) { await $ ( '~Home' ) . click ( ) ; } static async openWebView ( ) { await $ ( '~Webview' ) . click ( ) ; } static async openLogin ( ) { await $ ( '~Login' ) . click ( ) ; } static async openForms ( ) { await $ ( '~Forms' ) . click ( ) ; } static async openSwipe ( ) { await $ ( '~Swipe' ) . click ( ) ; } static async openDrag ( ) { await $ ( '~Drag' ) . click ( ) ; } static async waitForTabBarShown ( ) { return $ ( '~Home' ) . waitForDisplayed ( { timeout : 20000 , } ) ; } }