Sha256: c4e401e4ce0f11aa573ee5701648b2a86dfeff4ab025ca6ef4e58e5d8036100d

Contents?: true

Size: 811 Bytes

Versions: 2

Compression:

Stored size: 811 Bytes

Contents

//
//
//  Created by XCFit Framework
//  Copyright © 2016 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.

 Here is Step implementation for the HomeScreen where we can use buttons from HomeScreen. We have to implement all the steps in the func HomeScreenSteps Or create another func if needed but we have register it in the intitialiser class.
 */

import Foundation
import XCTest
import Cucumberish

class HomeScreenSteps: BaseScreen {

    func HomeScreenSteps() {

        MatchAll("I should see hello message") { (args, userInfo) -> Void in

            XCTAssertTrue(XCUIApplication().staticTexts["Welcome"].exists)

        }

    }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xcfit-3.1.7 XCFit4Demo/XCFit4DemoCucumberTests/HomeScreenSteps.swift
xcfit-3.1.6 XCFit4Demo/XCFit4DemoCucumberTests/HomeScreenSteps.swift