Skip to content
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.

Commit

Permalink
SDK 4.0 version loading and passing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Holland committed Jun 14, 2010
1 parent f468a95 commit 8d0e66b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
10 changes: 5 additions & 5 deletions features/uicatalog.feature → features/sdk3.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ Feature: iPhone integration tests
As a developer
I want cucumber to be able to drive the simulator

Background:
Given "app/sdk3/UICatalog.xcodeproj" is loaded in the simulator with SDK 3.1.3

Scenario: Pressing buttons
Given "app/sdk3/UICatalog.xcodeproj" is loaded in the simulator with SDK 3.2
When I tap "Buttons"
And I tap "Gray"

Scenario: Switches and sliders
Given "app/sdk3/UICatalog.xcodeproj" is loaded in the simulator with SDK 3.2
When I tap "Controls"
And I tap "Standard switch"

Scenario: Entering text
Given "app/sdk3/UICatalog.xcodeproj" is loaded in the simulator with SDK 3.2
When I tap "TextFields"
And I type "A string with symb0ls $!@ and spaces in it" in "Normal"
Then I should see "A string with symb0ls $!@ and spaces in it"
And I type "symb0ls $!@ and spaces" in "Normal"
Then I should see "symb0ls $!@ and spaces"
20 changes: 20 additions & 0 deletions features/sdk4.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Feature: iPhone integration tests
In order to test my iphone application
As a developer
I want cucumber to be able to drive the simulator

Background:
Given "app/sdk4/UICatalog.xcodeproj" is loaded in the simulator with SDK 4.0

Scenario: Pressing buttons
When I tap "Buttons"
And I tap "Gray"

Scenario: Switches and sliders
When I tap "Controls"
And I tap "Standard switch"

Scenario: Entering text
When I tap "TextFields"
And I type "symb0ls $!@ and spaces" in "Normal"
Then I should see "symb0ls $!@ and spaces"

0 comments on commit 8d0e66b

Please sign in to comment.