appium / ruby_lib_core

Core library for the Ruby client
Apache License 2.0
32 stars 23 forks source link

test failure notes for iOS 17 simulator #477

Closed KazuCocoa closed 9 months ago

KazuCocoa commented 1 year ago

Need to check for Xcode 15 x iOS 17

ERROR AppiumLibCoreTest::Ios::DeviceTest#test_start_performance_record_and_stop (304.06s)
Minitest::UnexpectedError:         Selenium::WebDriver::Error::UnknownError: An unknown server-side error occurred while processing the command. Original error: Performance recording has failed to exit after 180000ms
            UnknownError: An unknown server-side error occurred while processing the command. Original error: Performance recording has failed to exit after 180000ms
                at getResponseForW3CError (/Users/kazu/.nvm/versions/node/v16.15.1/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/errors.js:1067:9)
                at asyncHandler (/Users/kazu/.nvm/versions/node/v16.15.1/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/protocol.js:491:57)
            /Users/kazu/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/selenium-webdriver-4.9.1/lib/selenium/webdriver/remote/response.rb:55:in `assert_ok'
            /Users/kazu/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/selenium-webdriver-4.9.1/lib/selenium/webdriver/remote/response.rb:34:in `initialize'
            /Users/kazu/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/selenium-webdriver-4.9.1/lib/selenium/webdriver/remote/http/common.rb:83:in `new'
            /Users/kazu/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/selenium-webdriver-4.9.1/lib/selenium/webdriver/remote/http/common.rb:83:in `create_response'
            /Users/kazu/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/selenium-webdriver-4.9.1/lib/selenium/webdriver/remote/http/default.rb:104:in `request'
            /Users/kazu/GitHub/ruby_lib_core/lib/appium_lib_core/common/base/http_default.rb:64:in `request'
            /Users/kazu/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/selenium-webdriver-4.9.1/lib/selenium/webdriver/remote/http/common.rb:59:in `call'
            /Users/kazu/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/selenium-webdriver-4.9.1/lib/selenium/webdriver/remote/bridge.rb:620:in `execute'
            /Users/kazu/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/selenium-webdriver-4.9.1/lib/selenium/webdriver/remote/bridge.rb:331:in `execute_script'
            /Users/kazu/GitHub/ruby_lib_core/lib/appium_lib_core/ios/xcuitest/device/performance.rb:43:in `get_performance_record'
            /Users/kazu/.rbenv/versions/3.2.2/lib/ruby/3.2.0/forwardable.rb:240:in `get_performance_record'
            /Users/kazu/GitHub/ruby_lib_core/test/functional/ios/ios/device_test.rb:307:in `test_start_performance_record_and_stop'

ERROR AppiumLibCoreTest::Ios::DeviceTest#test_context_related (646.17s)
Minitest::UnexpectedError:         Appium::Core::Wait::TimeoutError: timed out after 20 seconds (Expected nil to be truthy.)
            /Users/kazu/GitHub/ruby_lib_core/lib/appium_lib_core/common/wait.rb:67:in `until'
            /Users/kazu/GitHub/ruby_lib_core/lib/appium_lib_core/common/wait.rb:193:in `wait_until'
            /Users/kazu/GitHub/ruby_lib_core/test/functional/ios/ios/device_test.rb:109:in `test_context_related'

ERROR AppiumLibCoreTest::WebDriver::W3CActionsTest#test_tap (1070.32s)
Minitest::UnexpectedError:         Appium::Core::Wait::TimeoutError: timed out after 20 seconds (An element could not be located on the page using the given search parameters.)
            /Users/kazu/GitHub/ruby_lib_core/lib/appium_lib_core/common/wait.rb:67:in `until'
            /Users/kazu/GitHub/ruby_lib_core/lib/appium_lib_core/common/wait.rb:193:in `wait_until'
            /Users/kazu/GitHub/ruby_lib_core/test/functional/ios/webdriver/w3c_actions_test.rb:38:in `test_tap'
KazuCocoa commented 9 months ago

These are probably ios 17 and instrument (in the first one), and others are something unstbale simulators i guess. tap itself worked in my past single testing. Safari worked so maybe the context switching also not directly be an issue yet. close as this repo's test result note.