cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6721) iOS Failed test: battery.spec.4 should fire batterycritical events
Date Tue, 27 May 2014 23:18:01 GMT

    [ https://issues.apache.org/jira/browse/CB-6721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14010487#comment-14010487
] 

Shazron Abdullah commented on CB-6721:
--------------------------------------

Testing the latest changes.

1. iOS Simulator all battery tests pass.
2. iOS device (iPhone 5s), only battery.spec.5 fails:

{code}
Battery (navigator.battery) battery.spec.5 should NOT fire events when charging or level is
increasing.
Expected spy onbatterycritical not to have been called.
{code}

> iOS Failed test: battery.spec.4 should fire batterycritical events
> ------------------------------------------------------------------
>
>                 Key: CB-6721
>                 URL: https://issues.apache.org/jira/browse/CB-6721
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: mobile-spec, Plugin Battery Status
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>
> Battery (navigator.battery) battery.spec.4 should fire batterycritical events.
> timeout: timed out after 100 msec waiting for batterycritical onEvent was not called
when level goes from 19->5
> This test is new for CB-4520 CB-4519:
> https://github.com/apache/cordova-mobile-spec/commit/b5b80a6ff80d3c8b3d7618fe051c824ec0d3771f



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message