From 6e73ff6fc5c9c5ef9fa58a52a5d5800c4a707e9e Mon Sep 17 00:00:00 2001 From: Sam Symons Date: Sun, 3 Dec 2023 09:18:47 -0800 Subject: [PATCH] Update matching for the Fire button. --- FingerprintingUITests/FingerprintUITest.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FingerprintingUITests/FingerprintUITest.swift b/FingerprintingUITests/FingerprintUITest.swift index 1005ec06cd..ddc8333020 100644 --- a/FingerprintingUITests/FingerprintUITest.swift +++ b/FingerprintingUITests/FingerprintUITest.swift @@ -126,8 +126,8 @@ class FingerprintUITest: XCTestCase { app.navigationBars.buttons["Done"].tap() // Clear all tabs and data - app.toolbars["Toolbar"].buttons["Fire"].tap() - app.buttons["Close Tabs and Clear Data"].tap() + app.toolbars["Toolbar"].buttons["Close Tabs and Clear Data"].tap() + app.buttons.matching(identifier: "Close Tabs and Clear Data").allElementsBoundByIndex.last?.tap() sleep(2)