Sha256: 24be248e85d0d927701059270ae16b85a0ea992bc7af0bc2825818359d97f2a9

Contents?: true

Size: 768 Bytes

Versions: 7

Compression:

Stored size: 768 Bytes

Contents

//
//
//  Created by XCFit Framework
//  Copyright © 2017 XCFit Framework. All rights reserved.
//
//

/*

 This is sample code created by XCFit Framework and can be edited/Removed as per your project need. You can also re-arrange Xcode Groups and directories as per your need.

This file stores all the XCUIElements for the screen or feature in the Swift enum

 */


import Foundation
import XCTest

enum FeatureScreen: String {

case homeButton = "Home"

    var button: XCUIElement {
        switch self {
        case .homeButton:
          if UIDevice.current.userInterfaceIdiom == .pad {
               return XCUIApplication().buttons["iPadHome"]
           } else {
               return XCUIApplication().buttons[self.rawValue]
          }
        }
    }
}

Version data entries

7 entries across 4 versions & 1 rubygems

Version Path
xcfit-10.2.0 XCFit_Templates/XCFit/Ptotocol BDD Bundle Base.xctemplate/FeatureElements.swift
xcfit-10.2.0 XCFit-Demo/XCFit-DemoProtocolBDDTests/FeatureElements.swift
xcfit-10.0.0 XCFit-Demo/XCFit-DemoProtocolBDDTests/FeatureElements.swift
xcfit-10.0.0 XCFit_Templates/XCFit/Ptotocol BDD Bundle Base.xctemplate/FeatureElements.swift
xcfit-8.0.0 XCFit_Templates/XCFit/Ptotocol BDD Bundle Base.xctemplate/FeatureElements.swift
xcfit-8.0.0 XCFit-Demo/XCFit-DemoProtocolBDDTests/FeatureElements.swift
xcfit-7.1.0 XCFit_Templates/XCFit/Ptotocol BDD Bundle Base.xctemplate/FeatureElements.swift