diff --git a/DarockBili Watch App UI Tests/DarockBili_Watch_App_UI_Tests.swift b/DarockBili Watch App UI Tests/DarockBili_Watch_App_UI_Tests.swift index 92aabff9a..5c82d9d53 100644 --- a/DarockBili Watch App UI Tests/DarockBili_Watch_App_UI_Tests.swift +++ b/DarockBili Watch App UI Tests/DarockBili_Watch_App_UI_Tests.swift @@ -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")