Skip to content

Commit

Permalink
Fixed iOS tests and updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JaniJegoroff committed Apr 25, 2015
1 parent 305ce9c commit f0f4f84
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ For features or bug fixes, please submit a pull request. Ideally there would be

### Run iOS tests

iOS tests are run on the iPhone 6 / iOS 8.1 simulator.
iOS tests are run on the iPhone 6 / iOS 8.3 simulator.

- `cd ios_tests`
- `flake 3 ios` - Run all the iOS tests up to 3 times
Expand Down
2 changes: 1 addition & 1 deletion ios_tests/lib/ios/specs/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def is_sauce
actual = driver_attributes
actual[:caps][:app] = File.basename actual[:caps][:app]
expected = { caps: { platformName: 'ios',
platformVersion: '8.1',
platformVersion: '8.3',
deviceName: 'iPhone Simulator',
app: 'UICatalog.app' },
custom_url: false,
Expand Down
4 changes: 2 additions & 2 deletions ios_tests/lib/ios/specs/ios/element/textfield.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ def keyboard_must_exist
textfield(1).send_keys 'ok'
keyboard_must_exist

# type will dismiss the keyboard
# type should not dismiss the keyboard
message = 'type test type'
textfield(1).type message
keyboard_must_not_exist
keyboard_must_exist
textfield(1).text.must_equal message
end

Expand Down
6 changes: 3 additions & 3 deletions ios_tests/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ruby_lib's iOS tests. Requires `Ruby 1.9.3` or better.

`UICatalog6.1` is from [appium/appium](https://github.com/appium/appium/blob/master/assets/UICatalog6.1.app.zip)

The tests are now run against `iPhone Simulator 7.0.3 (11B508)`
The tests are now run against `iPhone 6 Simulator 8.3 (12F69)`

#### Documentation

Expand All @@ -24,7 +24,7 @@ The tests are now run against `iPhone Simulator 7.0.3 (11B508)`
--

```java
Finished in 1 min 49 secs
Finished in 1 min 57 secs

101 runs, 130 assertions, 0 failures, 0 errors, 0 skips
123 runs, 164 assertions, 0 failures, 0 errors, 0 skips
```

0 comments on commit f0f4f84

Please sign in to comment.