Skip to content

Commit

Permalink
skip on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Jul 21, 2024
1 parent ec3e721 commit 7acf5c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/functional/android/android/image_comparison_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -211,7 +215,7 @@ def test_template_scale_ratio
@driver.update_settings(
{
defaultImageTemplateScale: 4,
imageMatchThreshold: 0.6,
imageMatchThreshold: 0.7,
checkForImageElementStaleness: true
}
)
Expand Down

0 comments on commit 7acf5c0

Please sign in to comment.