Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update APIRef.ActionsOnElement.md #1437

Merged
merged 1 commit into from Jun 10, 2019
Merged

Update APIRef.ActionsOnElement.md #1437

merged 1 commit into from Jun 10, 2019

Conversation

leotm
Copy link
Contributor

@leotm leotm commented Jun 7, 2019

  • This is a small change

Description:

This appears to be an important pre-requisite to successfully calling typeText, because it uses the builtin keyboard in all text fields.

To use the builtin keyboard, it must be toggled on first in the simulator in any text field, otherwise this error will be thrown in the terminal:

Detox _ Failed to type string because keyboard was not shown on screen

One can achieve this by tapping on any app text field, then selecting Hardware -> Keyboard -> Toggle Software Keyboard (⌘K).

This will now automatically toggle the builtin keyboard on during tests.

This appears to be an important pre-requisite to successfully calling `typeText`, because it uses the builtin keyboard in all text fields.

To use the builtin keyboard, it must be toggled on first in the simulator in any text field, otherwise an error will be thrown in the terminal:

```sh
Detox _ Failed to type string because keyboard was not shown on screen
```

One can achieve this by tapping on any app text field, then selecting *Hardware -> Keyboard -> Toggle Software Keyboard (⌘K)*.

This will now automatically toggle the builtin keyboard on during tests.
@leotm leotm requested a review from rotemmiz as a code owner June 7, 2019 16:11
@LeoNatan LeoNatan merged commit bb0730e into wix:master Jun 10, 2019
@LeoNatan
Copy link
Contributor

Thanks

@lock lock bot locked as resolved and limited conversation to collaborators Jun 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants