cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-3232) "cordova platform add blackberry" fails on 2.7.1-rc.1
Date Fri, 16 Dec 2016 22:37:58 GMT

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

ASF GitHub Bot commented on CB-3232:
------------------------------------

GitHub user filmaj opened a pull request:

    https://github.com/apache/cordova-plugin-camera/pull/244

    Android Appium test tweaks

    <!--
    Please make sure the checklist boxes are all checked before submitting the PR. The checklist
    is intended as a quick reference, for complete details please see our Contributor Guidelines:
    
    http://cordova.apache.org/contribute/contribute_guidelines.html
    
    Thanks!
    -->
    
    ### Platforms affected
    
    Android
    
    ### What does this PR do?
    
    - updated comments on how to run the tests.
    - extra comments around functionality at certain points in the automation.
    - stub of a resolution checker on test startup - still need to figure out acceptable values.
    - moved session shutdown to an `afterAll` clause. 
    - changed resolution determiner from using webview-based values to using the native windows
dimensions. this helps as the webview values may be scaled down intentionally by manufacturers
(via changing `window.devicePixelRatio`, for example). furthermore, since the screen dimensions
are used purely for native UI automation using direct coordinates, better to use the dimensions
reported by the native context rather than the web context.
    - removed duplicate element calls.
    
    ### What testing has been done on this change?
    
    Tested on local appium 1.6.3 environment on Android 4.4 and 5.1 stock emulators.
    
    ### Checklist
    - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA
database
    - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file
paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
    - [ ] Added automated test coverage as appropriate for this change.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/filmaj/cordova-plugin-camera android-appium-tweaks

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-camera/pull/244.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #244
    
----
commit f4616d88cd1b87433f0f8b98a1d228253be461aa
Author: filmaj <maj.fil@gmail.com>
Date:   2016-12-16T22:33:59Z

    [Appium] [Android] updated comments on how to run the tests. extra comments around functionality
at certain points in the automation. stub of a resolution checker on test startup - still
need to figure out acceptable values. moved session shutdown to an afterAll clause. changed
resolution determiner from using webview-based values to using the native windows dimensions
- this helps as the webview values may be scaled down intentionally by manufacturers (via
changing devicePixelRatio). furthermore, since the screen dimension automation is used purely
for native UI automation, better to use the dimensions reported by the native context rather
than the web context. removed duplicate element calls.

----


> "cordova platform add blackberry" fails on 2.7.1-rc.1
> -----------------------------------------------------
>
>                 Key: CB-3232
>                 URL: https://issues.apache.org/jira/browse/CB-3232
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: BlackBerry, CLI
>    Affects Versions: 2.7.0
>            Reporter: Michael Brooks
>            Assignee: Michael Brooks
>             Fix For: 2.7.0
>
>
> The following error is thrown when running {{$ cordova platform add blackberry}}:
> {code}
> [Error: An error occured during creation of blackberry sub-project. Creating BlackBerry
project...
> Updating config.xml ...
> sed: /Users/mwbrooks/Dropbox/Development/sandbox/myapp/platforms/blackberry/www/config.xml:
No such file or directory
> Cleaning up ...
> Remember to update the project.properties file inside your application directory!
> ]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message