• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

appium / appium-ios-driver / 1354
48%

Build:
DEFAULT BRANCH: master
Ran 09 Jan 2018 05:37AM UTC
Jobs 1
Files 46
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1354

push

travis-ci

web-flow
add capabilities for visual testing of native apps (#259)

* Setup index.js for commands

Setup index.js for device and scroll commands

* Add device commands

Device commands such as getDevicePixelRatio, getScreenHeight were implemented.

* Add commands for scrolling

Commands such as pageUp, pageDown were implemented.

* Add making viewport screenshot

Making screenshot and crop status bar if it is visible.

* Find scrollable element or elements by "//*[@scrollable=true]" xpath

Using this xpath in findElement/findElements methods user can get scrollable element/elements.

* Get content size of scrollable element

Getting content size of UIATableView and UICollection view in the most common design - without headers, footers etc.

* Code duplication

Use “getDevicePixelRatio” instead of calculating pixel ratio.

* Return viewport rect in points

Prevent transforming viewport  rect from points to pixels. Use “getDevicePixelRatio” if it is necessary.

* Replace “childElementsFrames” method

Replace it to helper methods from gestures.

* Setup index.js for commands

Setup index.js for device and scroll commands

* Add device commands

Device commands such as getDevicePixelRatio, getScreenHeight were implemented.

* Add commands for scrolling

Commands such as pageUp, pageDown were implemented.

* Add making viewport screenshot

Making screenshot and crop status bar if it is visible.

* Find scrollable element or elements by "//*[@scrollable=true]" xpath

Using this xpath in findElement/findElements methods user can get scrollable element/elements.

* Get content size of scrollable element

Getting content size of UIATableView and UICollection view in the most common design - without headers, footers etc.

* Code duplication

Use “getDevicePixelRatio” instead of calculating pixel ratio.

* Return viewport rect in points

Prevent transforming viewport  rect from points to pixels. Use “getDevicePixelRatio” if it is necessary.

* Replace “childElementsFrames” method

Replace it to helper methods from gestures.

* Add device info to session details

Add viewportRect, devicePixelRatio, statBarHeight to “getSession” method

* content_size is attribute of an element

Add opportunity to get attribute “content_size” of an element. For now it return value for table and collection view, null for others.

* Clean up

Remove useless methods. Scrolling functionality will be used by “mobile: scroll” approach.

* “scrollInside” returns Boolean value

Return true if scrolling succeed and false if it didn’t.

* Add unit tests

Add test for previously implemented API.

* New approach of returning back to initial position

Instead of “scrollInside” method, use “getFirstVisibleChild” and “scrollToElement” mechanic.

* “viewportScreenshot” via “executeScript” syntax

Make “viewportScrenshot” method invoke through “executeScript” syntax

* Set “camel case” in “contentSize” element’s attribute

* Fix source retrieval inside frame/iframe (#251)

* Fix source retrieval inside frame/iframe

* Use driver methods instead of wd

* Fix travis/brew bug

* Use "util.hasValue" method

It is recommended to use "hasValue" method instead of explicit comparison with null and underfined

* Separate 'contentSize' attribute

Compared to other attributes 'contentSize' invokes specific method. So it is better to make separate 'if' statement

* Fix test names

Set proper names for some tests

* Improve codestyle in device.js

* Refactoring new methods in find.js, element.js

* Move base64 string to static file

* make final PR changes

* ensure contentSize attribute is returned as a string, not an object

* Update location of cropBase64Image method

* fix spacing around imports

* move getFirstVisibleChild helper to find, so it doesn't override downstream helper in xcuitest-driver

* ensure we get the new appium support with image utils

* return status bar height and viewport rect in device pixels

* ensure status bar height is returned unscaled, and account for this in the downstream methods

* ensure we round status bar height to nearest pixel for viewport rect

* remove mostly superfluous getScreenHeight

186 of 938 branches covered (19.83%)

663 of 2110 relevant lines covered (31.42%)

1.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1354.1 (DEVICE=ios93 TEST=unit COVERALLS=1) 09 Jan 2018 05:37AM UTC 0
31.42
Travis Job 1354.1
Source Files on build 1354
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1354
  • 4c05638d on github
  • Prev Build on master (#1353)
  • Next Build on master (#1355)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc