File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
WooCommerce/UITestsFoundation/Screens Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ import ScreenObject
22import XCTest
33
44public final class MyStoreScreen : ScreenObject {
5+
6+ // TODO: Remove force `try` once `ScreenObject` migration is completed
7+ public let tabBar = try ! TabNavComponent ( )
8+ // TODO: Remove force `try` once `ScreenObject` migration is completed
9+ public let periodStatsTable = try ! PeriodStatsTable ( )
10+
511 private let settingsButtonGetter : ( XCUIApplication ) -> XCUIElement = {
612 $0. buttons [ " dashboard-settings-button " ]
713 }
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public final class ReviewsScreen: ScreenObject {
1212
1313 public init ( app: XCUIApplication = XCUIApplication ( ) ) throws {
1414 try super. init (
15- expectedElementGetters: [ { $0. staticTexts [ " Reviews " ] } ] ,
15+ expectedElementGetters: [ { $0. buttons [ " reviews-open-menu-button " ] } ] ,
1616 app: app
1717 )
1818 }
You can’t perform that action at this time.
0 commit comments