Skip to content

Instantly share code, notes, and snippets.

@dtolb
Created August 6, 2014 19:34
Show Gist options
  • Save dtolb/2a23d84ca1894c76640e to your computer and use it in GitHub Desktop.
Save dtolb/2a23d84ca1894c76640e to your computer and use it in GitHub Desktop.
Feature: Make Call
  Scenario: Make Call from app and hangup from phone # features/makeCall.feature:3
find: /Users/dtolbert/Library/Application Support/iPhone Simulator/7.1-64/Applications: No such file or directory
    Given I am on the Make Call page                # features/step_definitions/makeCallSteps.rb:1
    When I push the down arrow to select number      # features/step_definitions/makeCallSteps.rb:48
    Then I should see 2 numbers                      # features/step_definitions/makeCallSteps.rb:52
    When I select number "4022055920"                # features/step_definitions/makeCallSteps.rb:56
    Then I should see the number selected            # features/step_definitions/makeCallSteps.rb:62
    When I push the down arrow to select number      # features/step_definitions/makeCallSteps.rb:48
    And I select number "9804582004"                # features/step_definitions/makeCallSteps.rb:56
    Then I should see the number selected            # features/step_definitions/makeCallSteps.rb:62
    Then I dial the number "9195169480"              # features/step_definitions/makeCallSteps.rb:30
    When I press the green call button              # features/step_definitions/makeCallSteps.rb:9
    Then the in-call buttons are visible            # features/step_definitions/makeCallSteps.rb:40
    And the call connects                            # features/step_definitions/makeCallSteps.rb:44
    When I hangup the call from the phone            # features/step_definitions/makeCallSteps.rb:26
    Then the screen returns to normal                # features/step_definitions/makeCallSteps.rb:22
    Then I return to the home screen                # features/step_definitions/makeCallSteps.rb:66
    Then I log out                                  # features/step_definitions/loginSteps.rb:28
  Scenario: Make Call from app and hangup from other number # features/makeCall.feature:21
find: /Users/dtolbert/Library/Application Support/iPhone Simulator/7.1-64/Applications: No such file or directory
    Given I am on the Make Call page                        # features/step_definitions/makeCallSteps.rb:1
    When I push the down arrow to select number            # features/step_definitions/makeCallSteps.rb:48
    And I select number "9804582004"                        # features/step_definitions/makeCallSteps.rb:56
    Then I should see the number selected                  # features/step_definitions/makeCallSteps.rb:62
    When I dial the number "9195169480"                    # features/step_definitions/makeCallSteps.rb:30
    And I press the green call button                      # features/step_definitions/makeCallSteps.rb:9
    Then the in-call buttons are visible                    # features/step_definitions/makeCallSteps.rb:40
    And the call connects                                  # features/step_definitions/makeCallSteps.rb:44
    When I hangup the call from the other number            # features/step_definitions/makeCallSteps.rb:18
    Then the screen returns to normal                      # features/step_definitions/makeCallSteps.rb:22
    Then I return to the home screen                        # features/step_definitions/makeCallSteps.rb:66
    Then I log out                                          # features/step_definitions/loginSteps.rb:28
2 scenarios (2 passed)
28 steps (28 passed)
1m22.597s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment