From 49434b1cc3c1a42c4600e8f096fdb3843d2e1d1c Mon Sep 17 00:00:00 2001 From: Mark Chan <45706356+WindowsMEMZ@users.noreply.github.com> Date: Sun, 7 Jan 2024 23:47:43 +0800 Subject: [PATCH] Update DarockBili_Watch_App_UI_Tests.swift --- .../DarockBili_Watch_App_UI_Tests.swift | 4 ++++ 1 file changed, 4 insertions(+) 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 ff8bc12c7..5c06da63d 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 @@ -37,8 +37,12 @@ final class DarockBili_Watch_App_UI_Tests: XCTestCase { let app = XCUIApplication() app.launch() sleep(2) + // In Terms Page takeScreenshot(of: app, named: "Launch") + app.buttons["关闭"].firstMatch.tap() + sleep(1) // In main tabview first page (suggestions) + takeScreenshot(of: app, named: "Suggestions") app.buttons["SuggestVideo"].firstMatch.tap() sleep(1) takeScreenshot(of: app, named: "RMVideo")