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

appium / appium-ios-driver / 1354 / 1
48%
master: 48%

Build:
DEFAULT BRANCH: master
Ran 09 Jan 2018 05:37AM UTC
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

08 Jan 2018 05:47PM UTC coverage: 31.422% (+1.3%) from 30.112%
DEVICE=ios93 TEST=unit COVERALLS=1

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

Source Files on job 1354.1 (DEVICE=ios93 TEST=unit COVERALLS=1)
  • Tree
  • List 0
  • Changed 9
  • Source Changed 7
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1354
  • Travis Job 1354.1
  • 4c05638d on github
  • Prev Job for DEVICE=ios93 TEST=unit COVERALLS=1 on master (#1353.1)
  • Next Job for DEVICE=ios93 TEST=unit COVERALLS=1 on master (#1355.1)
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