Adjusted screenshots tests

pull/2/head
Michael Scoff 7 years ago
parent c07030de67
commit 975609a0d8
  1. 1
      Trust/Welcome/ViewControllers/WelcomeViewController.swift
  2. 8
      TrustUITests/Screenshots.swift
  3. 4
      fastlane/screenshots/Framefile.json

@ -44,6 +44,7 @@ class WelcomeViewController: UIViewController {
skipPlaceholder.translatesAutoresizingMaskIntoConstraints = false
skipPlaceholder.frame = CGRect(x: 0, y: 0, width: 300, height: 110)
skipPlaceholder.backgroundColor = .clear
skipPlaceholder.isAccessibilityElement = false
NSLayoutConstraint.activate([
skipPlaceholder.heightAnchor.constraint(equalToConstant: 110),

@ -12,15 +12,15 @@ class Screenshots: XCTestCase {
}
func testMakeScreenshots() {
let app = XCUIApplication()
snapshot("0Launch")
app.buttons["GET STARTED"].tap()
snapshot("1CreateWallet")
app.buttons["IMPORT WALLET"].tap()
snapshot("1ImportWallet")
sleep(4)
app.navigationBars["New Wallet"].buttons["Demo"].tap()
app.navigationBars["Import Wallet"].buttons["Demo"].tap()
app.buttons["Send"].tap()
app.tables.textFields["Amount"].tap()

@ -22,9 +22,9 @@
}
},
{
"filter": "CreateWallet",
"filter": "ImportWallet",
"title": {
"text": "Create Wallet"
"text": "Import Wallet"
}
},
{

Loading…
Cancel
Save