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:
Mauro
2023-05-17 18:15:43 +02:00
committed by GitHub
parent 3ed5e96e5d
commit eb68f52a0f
14 changed files with 111 additions and 83 deletions
+10 -2
View File
@@ -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",