File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
WooCommerce/UITestsFoundation/Screens Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,10 @@ public final class TabNavComponent: ScreenObject {
1919 $0. tabBars. firstMatch. buttons [ " tab-bar-menu-item " ]
2020 }
2121
22- private let reviewsTabButtonGetter : ( XCUIApplication ) -> XCUIElement = {
23- $0. tabBars. firstMatch. buttons [ " tab-bar-reviews-item " ]
24- }
25-
2622 private var myStoreTabButton : XCUIElement { myStoreTabButtonGetter ( app) }
2723 private var ordersTabButton : XCUIElement { ordersTabButtonGetter ( app) }
2824 private var menuTabButton : XCUIElement { menuTabButtonGetter ( app) }
29- private var reviewsTabButton : XCUIElement { reviewsTabButtonGetter ( app) }
30- var productsTabButton : XCUIElement { productsTabButtonGetter ( app) }
25+ private var productsTabButton : XCUIElement { productsTabButtonGetter ( app) }
3126
3227 public init ( app: XCUIApplication = XCUIApplication ( ) ) throws {
3328 try super. init (
@@ -64,12 +59,6 @@ public final class TabNavComponent: ScreenObject {
6459 return try MenuScreen ( )
6560 }
6661
67- @discardableResult
68- public func goToReviewsScreen( ) throws -> ReviewsScreen {
69- reviewsTabButton. tap ( )
70- return try ReviewsScreen ( )
71- }
72-
7362 static func isLoaded( ) -> Bool {
7463 ( try ? TabNavComponent ( ) . isLoaded) ?? false
7564 }
You can’t perform that action at this time.
0 commit comments