File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
WooCommerce/WooCommerceUITests/Tests Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import XCTest
44final class ReviewsTests : XCTestCase {
55
66 override func setUpWithError( ) throws {
7+ try skipTillReviewMenuFixed ( )
8+
79 continueAfterFailure = false
810
911 let app = XCUIApplication ( )
@@ -22,6 +24,8 @@ final class ReviewsTests: XCTestCase {
2224 }
2325
2426 func testReviewsScreenLoad( ) throws {
27+ try skipTillReviewMenuFixed ( )
28+
2529 let reviews = try GetMocks . readReviewsData ( )
2630
2731 try ReviewsScreen ( )
@@ -33,4 +37,11 @@ final class ReviewsTests: XCTestCase {
3337 . goBackToReviewsScreen ( )
3438 . verifyReviewsScreenLoaded ( )
3539 }
40+
41+ func skipTillReviewMenuFixed( file: StaticString = #file, line: UInt = #line) throws {
42+ try XCTSkipIf ( true ,
43+ """
44+ Skipping test because of the reviews menu does not appear on first load. See: https://github.com/woocommerce/woocommerce-ios/issues/5872
45+ """ , file: file, line: line)
46+ }
3647}
You can’t perform that action at this time.
0 commit comments