From 7acf5c03616bb1736486dcfaaf12d6e572f646a3 Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Sun, 21 Jul 2024 14:52:44 -0700 Subject: [PATCH] skip on CI --- test/functional/android/android/image_comparison_test.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/functional/android/android/image_comparison_test.rb b/test/functional/android/android/image_comparison_test.rb index 99eb5867..16e3f331 100644 --- a/test/functional/android/android/image_comparison_test.rb +++ b/test/functional/android/android/image_comparison_test.rb @@ -200,6 +200,10 @@ def test_image_elements # tested only Android side since the logic is the same in cross platform def test_template_scale_ratio + # Skip on CI since Ci env is unstable to complete this scale test. + # Local env succeeded in running this test. + skip 'skip because image search with scale is unstable on CI' if ci? + skip_as_appium_version '1.9.0' skip 'Espresso does not support settings API' if @@core.automation_name == :espresso @@ -211,7 +215,7 @@ def test_template_scale_ratio @driver.update_settings( { defaultImageTemplateScale: 4, - imageMatchThreshold: 0.6, + imageMatchThreshold: 0.7, checkForImageElementStaleness: true } )