An advanced Ethereum/EVM mobile wallet
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
alpha-wallet-ios/TrustUITests/Screenshots.swift

37 lines
995 B

// Copyright SIX DAY LLC. All rights reserved.
import XCTest
class Screenshots: XCTestCase {
override func setUp() {
super.setUp()
let app = XCUIApplication()
setupSnapshot(app)
app.launch()
}
func testMakeScreenshots() {
let app = XCUIApplication()
snapshot("0Launch")
app.buttons["GET STARTED"].tap()
snapshot("1CreateWallet")
sleep(4)
app.navigationBars["New Wallet"].buttons["Demo"].tap()
app.buttons["Send"].tap()
XCUIApplication().tables/*@START_MENU_TOKEN@*/.textFields["ETH Amount"]/*[[".cells.textFields[\"ETH Amount\"]",".textFields[\"ETH Amount\"]"],[[[-1,1],[-1,0]]],[0]]@END_MENU_TOKEN@*/.tap()
snapshot("2SendRequest")
app.navigationBars["Trust.SendAndRequestViewContainer"].buttons["Cancel"].tap()
snapshot("3Transactions")
app.tables.buttons["Show my tokens"].tap()
sleep(12)
snapshot("4Tokens")
}
}