Skip to content

Commit ae2fad8

Browse files
committed
rename tests to use snake case and add skipped to skipped test name
1 parent 78cf59d commit ae2fad8

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

WooCommerce/WooCommerceUITests/Tests/LoginTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ final class LoginTests: XCTestCase {
1313
}
1414

1515
// Login with Store Address and log out.
16-
func testSiteAddressLoginLogout() throws {
16+
func skipped_test_site_address_login_logout() throws {
1717
try skipTillSettingsFixed()
1818

1919
let prologue = try PrologueScreen().selectSiteAddress()
@@ -34,7 +34,7 @@ final class LoginTests: XCTestCase {
3434
}
3535

3636
// Login with WordPress.com account and log out
37-
func testWordPressLoginLogout() throws {
37+
func skipped_test_WordPress_login_logout() throws {
3838
try skipTillSettingsFixed()
3939

4040
let prologue = try PrologueScreen().selectContinueWithWordPress()
@@ -53,7 +53,7 @@ final class LoginTests: XCTestCase {
5353
XCTAssert(prologue.isLoaded)
5454
}
5555

56-
func testWordPressUnsuccessfullLogin() throws {
56+
func test_WordPress_unsuccessfull_login() throws {
5757
_ = try PrologueScreen().selectContinueWithWordPress()
5858
.proceedWith(email: TestCredentials.emailAddress)
5959
.tryProceed(password: "invalidPswd")

WooCommerce/WooCommerceUITests/Tests/OrdersTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ final class OrdersTests: XCTestCase {
1313
try LoginFlow.logInWithWPcom()
1414
}
1515

16-
func testOrdersScreenLoads() throws {
16+
func test_load_orders_screen() throws {
1717
let orders = try GetMocks.readOrdersData()
1818

1919
try TabNavComponent().goToOrdersScreen()

WooCommerce/WooCommerceUITests/Tests/ProductsTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ final class ProductsTests: XCTestCase {
1212
try LoginFlow.logInWithWPcom()
1313
}
1414

15-
func testProductsScreenLoad() throws {
15+
func test_load_products_screen() throws {
1616
let products = try GetMocks.readProductsData()
1717

1818
try TabNavComponent().goToProductsScreen()

WooCommerce/WooCommerceUITests/Tests/ReviewsTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ final class ReviewsTests: XCTestCase {
1717
.goToProductsScreen()
1818
}
1919

20-
func testReviewsScreenLoad() throws {
20+
func test_load_reviews_screen() throws {
2121
let reviews = try GetMocks.readReviewsData()
2222

2323
try TabNavComponent().goToMenuScreen()

WooCommerce/WooCommerceUITests/Tests/StatsTests.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ final class StatsTests: XCTestCase {
1515
try LoginFlow.logInWithWPcom()
1616
}
1717

18-
func testStatsScreenLoad() throws {
19-
try skipTillImplemented()
18+
func skipped_test_load_stats_screen() throws {
2019
try TabNavComponent().goToMyStoreScreen()
2120
}
2221

0 commit comments

Comments
 (0)