Skip to content

Commit

Permalink
Force screenshot to be taken after initial setup
Browse files Browse the repository at this point in the history
  • Loading branch information
graemer957 committed Nov 25, 2016
1 parent feb57ae commit d3e4e4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions UI Testing-UITests/UI_Testing_UITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class UI_Testing_UITests: XCTestCase {
XCUIApplication().launch()

// In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
XCUIDevice.shared().orientation = .unknown
}

override func tearDown() {
Expand Down

0 comments on commit d3e4e4d

Please sign in to comment.