|
|
|
@ -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() |
|
|
|
@ -29,7 +29,7 @@ class Screenshots: XCTestCase { |
|
|
|
|
app.navigationBars["Trust.SendAndRequestViewContainer"].buttons["Cancel"].tap() |
|
|
|
|
|
|
|
|
|
snapshot("3Transactions") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.tables.buttons["Show my tokens"].tap() |
|
|
|
|
sleep(12) |
|
|
|
|
snapshot("4Tokens") |
|
|
|
|