Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI Tests] - Add ensure_devices_found parameter to fastlane scan #14767

Open
wants to merge 14 commits into
base: trunk
Choose a base branch
from
Open
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
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
Loading