Skip to content

Commit

Permalink
Update DarockBili_Watch_App_UI_Tests.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsMEMZ authored Dec 16, 2023
1 parent fca53d7 commit 5e9e095
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions DarockBili Watch App UI Tests/DarockBili_Watch_App_UI_Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,17 @@ final class DarockBili_Watch_App_UI_Tests: XCTestCase {
app.buttons["AppSettingsButton"].firstMatch.tap()
sleep(1)
takeScreenshot(of: app, named: "SettingsMain")
app.buttons["以太网"].firstMatch.tap()
app.buttons["通用"].firstMatch.tap()
sleep(1)
takeScreenshot(of: app, named: "EthernetSetting")
app.buttons["网络检查"].firstMatch.tap()
sleep(2)
takeScreenshot(of: app, named: "NetworkFix1")
sleep(5)
takeScreenshot(of: app, named: "NetworkFix2")

app.buttons["关于"].firstMatch.tap()
sleep(1)
for _ in 1...10 {
app.otherElements["DebugUITestButton10"].tap()
}
sleep(1)
app.buttons["LongUIDUserTest"].tap()
sleep(1)
takeScreenshot(of: app, named: "LongUIDUserDetail")
}

func testLaunchPerformance() throws {
Expand Down

0 comments on commit 5e9e095

Please sign in to comment.