Skip to content

[Func test] Fix ios keyboard_tests #570

@ki4070ma

Description

@ki4070ma

The problem

Failing ios keyboard_tests at functional tests.

https://dev.azure.com/AppiumCI/Appium%20CI/_build?definitionId=56&_a=summary&view=runs

Environment

See

Details

  • hide_keyboard works well with Ad v1.19.1 and current functional test codes.
  • hide_keyboard doesn't work well with appium CLI v1.20.0-beta.0 and current functional test codes.
  • When the element gone from current view, below code throws Exception.
        el = self.driver.find_element_by_class_name('UIAKeyboard')
        assert el.is_displayed()

        self.driver.hide_keyboard(key_name='Done')

        assert not el.is_displayed()  # Exception occurs

Link to Appium Logs

https://dev.azure.com/AppiumCI/Appium%20CI/_build?definitionId=56&_a=summary&view=runs

Code To reproduce issue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions