Skip to content

Commit

Permalink
[UI Tests] - Add ensure_devices_found parameter to fastlane scan (#14767
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jostnes authored Dec 31, 2024
2 parents 0fbafb4 + 1109461 commit a6bc852
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ public final class MyStoreScreen: ScreenObject {
public init(app: XCUIApplication = XCUIApplication()) throws {
try super.init(
expectedElementGetters: [ { $0.staticTexts["Your WooCommerce Store"] }],
app: app
app: app,
waitTimeout: 35
)
}

Expand Down
3 changes: 2 additions & 1 deletion WooCommerce/UITestsFoundation/Screens/TabNavComponent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public final class TabNavComponent: ScreenObject {
ordersTabButtonGetter,
productsTabButtonGetter
],
app: app
app: app,
waitTimeout: 35
)
}

Expand Down
3 changes: 2 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,8 @@ lane :test_without_building do |options|
workspace: WORKSPACE_PATH,
scheme: TEST_SCHEME,
device: options[:device],
reset_simulator: true,
ensure_devices_found: true,
force_quit_simulator: true,
parallel_testing: parallel_testing_value,
concurrent_workers: CONCURRENT_SIMULATORS,
max_concurrent_simulators: CONCURRENT_SIMULATORS,
Expand Down

0 comments on commit a6bc852

Please sign in to comment.