Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Jul 21, 2024
1 parent 6bf6f9a commit 15807d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/functional/android/android/image_comparison_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ def test_image_elements
@driver.rotation = :landscape

el = @driver.find_element :accessibility_id, 'App'
sleep(10)
@driver.save_element_screenshot el, 'test/functional/data/test_android_app.png'

image_elements = @driver.find_elements_by_image AppiumLibCoreTest.path_of('test/functional/data/test_android_app.png')
Expand Down Expand Up @@ -212,7 +211,7 @@ def test_template_scale_ratio
@driver.update_settings(
{
defaultImageTemplateScale: 4,
imageMatchThreshold: 0.7,
imageMatchThreshold: 0.6,
checkForImageElementStaleness: false
}
)
Expand Down

0 comments on commit 15807d8

Please sign in to comment.