From b2c6b6ad18b6cb25785222ef1c4b4e94caa75a4a Mon Sep 17 00:00:00 2001 From: mbarone Date: Wed, 27 Nov 2024 09:44:24 +0100 Subject: [PATCH] Fix Whats new XCUI Test --- .../firefox-ios-tests/Tests/XCUITests/FxScreenGraph.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/firefox-ios/firefox-ios-tests/Tests/XCUITests/FxScreenGraph.swift b/firefox-ios/firefox-ios-tests/Tests/XCUITests/FxScreenGraph.swift index 72fc6fe9f7d2..a8f420a1a7c1 100644 --- a/firefox-ios/firefox-ios-tests/Tests/XCUITests/FxScreenGraph.swift +++ b/firefox-ios/firefox-ios-tests/Tests/XCUITests/FxScreenGraph.swift @@ -1179,7 +1179,11 @@ func createScreenGraph(for test: XCTestCase, with app: XCUIApplication) -> MMScr ) // Passwords (TODO) // Customize Homepage (TODO) - // New in Firefox (TODO: Find out what is Action.OpenWhatsNewPage) + // New in Firefox + screenState.tap( + app.otherElements.cells["MainMenu.WhatsNew"], + forAction: Action.OpenWhatsNewPage + ) // Get Help (TODO: Actions to open support.mozilla.org) // SettingsScreen screenState.tap(app.tables.cells[AccessibilityIdentifiers.MainMenu.settings], to: SettingsScreen)