mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Run single Test on CI for faster debugging (#896)
* let's disable autocorrection * waiting some more time in flaky tests and updated the content of a test that was failing * controlled delay waited a bit moe for the timeline to settle * try await * trying with a bit more waiting time after the tap and a slow velocity for the swipe * let's try waiting more time * workflow for a single ui test * las try * slow swiping tests * commenting out flaky CI tests, for now we'll just disable them * better description * flaky test improvement * disabling animations that are not needed in UITests * code that already prevents animations in UI tests * code improv
This commit is contained in:
+10
-2
@@ -109,18 +109,25 @@ lane :unit_tests do
|
||||
)
|
||||
end
|
||||
|
||||
lane :ui_tests do
|
||||
lane :ui_tests do |options|
|
||||
create_simulator_if_necessary(
|
||||
name: "iPad (9th generation)",
|
||||
type: "com.apple.CoreSimulator.SimDeviceType.iPad-9th-generation"
|
||||
)
|
||||
|
||||
if options[:test_name]
|
||||
test_to_run = ["UITests/#{options[:test_name]}"]
|
||||
else
|
||||
test_to_run = nil
|
||||
end
|
||||
|
||||
run_tests(
|
||||
scheme: "UITests",
|
||||
devices: ["iPhone 14", "iPad (9th generation)"],
|
||||
ensure_devices_found: true,
|
||||
prelaunch_simulator: true,
|
||||
result_bundle: true
|
||||
result_bundle: true,
|
||||
only_testing: test_to_run
|
||||
)
|
||||
|
||||
slather(
|
||||
@@ -132,6 +139,7 @@ lane :ui_tests do
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
lane :integration_tests do
|
||||
create_simulator_if_necessary(
|
||||
name: "iPhone 13 Pro",
|
||||
|
||||
Reference in New Issue
Block a user