<commit_before>@keyboard
Feature: Keyboard
  In order to test keyboard interactions
  As a developer and tester
  I want a Calabash Keyboard API

  Background: Navigate to the controls tab
    Given I see the controls tab

  Scenario: I should be able to type something
    And I touch the text field
    Then I wait for the keyboard
    Then I type "Hello"
    And the text in the text field should be "Hello"
    When I type " World!" character by character
    Then the text in the text field should be "Hello World!"
    And I can dismiss the keyboard by touching the Done key

  Scenario: I can ask questions about the keyboard visibility
    And I touch the text field
    Then I wait for the keyboard
    And the keyboard is visible
    And the docked keyboard is visible
    And the undocked keyboard is not visible
    And the split keyboard is not visible

  Scenario: I can clear the text using setText:
    Given I have entered some text in the text field
    Then I can clear the text field with setText:

  Scenario: I can clear the text using the editing menu
    Given I have entered some text in the text field
    Then I can clear the text field with the editing menu

  Scenario: I can clear the text using the clear button
   Given I have entered some text in the text field
   Then I can clear the text field with the clear text button<commit_msg>iOS Cucumber: apply format to keyboard<commit_after>@keyboard
Feature: Keyboard
In order to test keyboard interactions
As a developer and tester
I want a Calabash Keyboard API

Background: Navigate to the controls tab
  Given I see the controls tab

Scenario: I should be able to type something
  And I touch the text field
  Then I wait for the keyboard
  Then I type "Hello"
  And the text in the text field should be "Hello"
  When I type " World!" character by character
  Then the text in the text field should be "Hello World!"
  And I can dismiss the keyboard by touching the Done key

Scenario: I can ask questions about the keyboard visibility
  And I touch the text field
  Then I wait for the keyboard
  And the keyboard is visible
  And the docked keyboard is visible
  And the undocked keyboard is not visible
  And the split keyboard is not visible

Scenario: I can clear the text using setText:
  Given I have entered some text in the text field
  Then I can clear the text field with setText:

Scenario: I can clear the text using the editing menu
  Given I have entered some text in the text field
  Then I can clear the text field with the editing menu

Scenario: I can clear the text using the clear button
  Given I have entered some text in the text field
  Then I can clear the text field with the clear text button

{'fraction_non_alphanumeric': 0.01736881005173688, 'fraction_numerical': 0.0, 'mean_word_length': 3.387358184764992, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5928607', 'n_tokens_mistral': 678, 'n_tokens_neox': 670, 'n_words': 466}