From f3ef1da2bf0b8fe4f2acf7b4983cecea5952591f Mon Sep 17 00:00:00 2001 From: Nico Verbruggen Date: Mon, 6 Mar 2023 22:01:58 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Click=20through=20the=20preferences?= =?UTF-8?q?=20panes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/ui/MainMenuTest.swift | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/ui/MainMenuTest.swift b/tests/ui/MainMenuTest.swift index 5c3f2b3..dc4ff19 100644 --- a/tests/ui/MainMenuTest.swift +++ b/tests/ui/MainMenuTest.swift @@ -40,6 +40,18 @@ final class MainMenuTest: UITestCase { final func test_can_open_settings() throws { let app = launch(openMenu: true) app.mainMenuItem(withText: "mi_preferences".localized).click() + + assertExists(app.buttons["General"]) + click(app.buttons["General"]) + + assertExists(app.buttons["Appearance"]) + click(app.buttons["Appearance"]) + + assertExists(app.buttons["Visibility"]) + click(app.buttons["Visibility"]) + + assertExists(app.buttons["Notifications"]) + click(app.buttons["Notifications"]) } final func test_can_quit_app() throws {