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 13, 2023
1 parent 5beb631 commit 86a93cb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions DarockBili Watch App UI Tests/DarockBili_Watch_App_UI_Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,17 @@ final class DarockBili_Watch_App_UI_Tests: XCTestCase {
app.navigationBars.buttons.element(boundBy: 0).tap()
sleep(1)
// Backed to suggestions view
app.navigationBars.buttons["SearchButton"].tap()
sleep(1)
if app.buttons["SearchDebugButton"].exists {
app.buttons["SearchDebugButton"].tap()
sleep(5)
takeScreenshot(of: app, named: "DebugSearch")
app.navigationBars.buttons.element(boundBy: 0).tap()
sleep(1)
}
app.navigationBars.buttons.element(boundBy: 0).tap()
sleep(1)
app.otherElements["MainTabView"].swipeLeft()
sleep(1)
takeScreenshot(of: app, named: "PersonalCenter")
Expand Down

0 comments on commit 86a93cb

Please sign in to comment.