/***************************************************************************** * TestHelper.swift * VLC for iOSUITests ***************************************************************************** * Copyright (c) 2018 VideoLAN. All rights reserved. * $Id$ * * Authors: Mike JS. Choi * * Refer to the COPYING file of the official project for license. *****************************************************************************/ import Foundation import XCTest struct TestHelper { let app: XCUIApplication init(_ app: XCUIApplication) { self.app = app } func tapTabBarItem(_ identifier: String) { app.tabBars.buttons[identifier].tap() } }