blockchainethereumblockchain-walleterc20erc721walletxdaidappdecentralizederc1155erc875iosswifttokens
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.
37 lines
844 B
37 lines
844 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["IMPORT WALLET"].tap()
|
|
|
|
snapshot("4ImportWallet")
|
|
sleep(4)
|
|
app.navigationBars["Import Wallet"].buttons["Demo"].tap()
|
|
|
|
app.buttons["Send"].tap()
|
|
app.tables.textFields["ETH Amount"].tap()
|
|
snapshot("2SendRequest")
|
|
|
|
app.navigationBars["Send ETH"].buttons["Cancel"].tap()
|
|
|
|
snapshot("3Transactions")
|
|
|
|
app.tables.buttons["Show my tokens"].tap()
|
|
sleep(12)
|
|
snapshot("2Tokens")
|
|
}
|
|
}
|
|
|