[jira] [Commented] (CB-11033) Contacts plugin Appium tests: modifying a contact can take more than a minute on an emulator
[ https://issues.apache.org/jira/browse/CB-11033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15256008#comment-15256008 ] Alexander Sorokin commented on CB-11033: Logs of the failure for reference: {noformat} [MEDIC LOG Mon, 25 Apr 2016 06:50:54 GMT] Starting new spec: contacts.ui.spec.2 Update an existing contact > CALL context("WEBVIEW_org.apache.mobilespec") > POST /session/:sessionID/context {"name":"WEBVIEW_org.apache.mobilespec"} > RESPONSE context("WEBVIEW_org.apache.mobilespec") > CALL setAsyncScriptTimeout(6) > POST /session/:sessionID/timeouts/async_script {"ms":6} > RESPONSE setAsyncScriptTimeout(6) > CALL executeAsync(null,[{"formatted":"Dooney > Evans","familyName":"Evans","givenName":"Dooney"}]) > POST /session/:sessionID/execute_async {"script":"return (function > (contactname, callback) {\nnavigator.contacts.create({\n >'displayName': contactname.formatted,\n > 'name': contactname,\n'note': 'DeleteMe'\n > }).save(callback, callback);\n}).apply(null, > arguments);","args":[{"formatted":"Dooney > Evans","familyName":"Evans","givenName":"Dooney"}]} > RESPONSE executeAsync(null,[{"formatted":"Dooney > Evans","familyName":"Evans","givenName":"Dooney"}]) > {"addresses":null,"birthday":{},"categories":null,"clone":{},"displayName":"Dooney > > Evans","emails":null,"id":"7362","ims":null,"name":{"familyName":"Evans","formatted":"Dooney > > Evans","givenName":"Dooney"},"nickname":null,"note":"DeleteMe","organizations":null,"phoneNumbers":null,"photos":null,"rawId":"7362","remove":{},"save":{},"urls":null} > CALL context("WEBVIEW_org.apache.mobilespec") > POST /session/:sessionID/context {"name":"WEBVIEW_org.apache.mobilespec"} > RESPONSE context("WEBVIEW_org.apache.mobilespec") > CALL setAsyncScriptTimeout(30) > POST /session/:sessionID/timeouts/async_script {"ms":30} > RESPONSE setAsyncScriptTimeout(30) > CALL executeAsync(null,["Dooney Evans","Urist","McContact"]) > POST /session/:sessionID/execute_async {"script":"return (function (oldname, > newgivenname, newfamilyname, callback) {\nvar obj = new > ContactFindOptions();\nobj.filter = oldname;\n > obj.multiple = false;\n\n > navigator.contacts.find(['displayName', 'name'], function(contacts) {\n > if (contacts.length === 0) {\n > callback({ 'code': -35142 });\nreturn;\n >}\nvar contact = contacts[0];\n > contact.displayName = newgivenname + ' ' + newfamilyname;\n >var name = new ContactName();\nname.givenName = > newgivenname;\nname.familyName = newfamilyname;\n > contact.name = name;\ncontact.save(callback, > callback);\n}, callback, obj);\n}).apply(null, > arguments);","args":["Dooney Evans","Urist","McContact"]} > CALL context("WEBVIEW_org.apache.mobilespec") > POST /session/:sessionID/context {"name":"WEBVIEW_org.apache.mobilespec"} > CALL currentContext() > GET /session/:sessionID/context > RESPONSE context("WEBVIEW_org.apache.mobilespec") > CALL setAsyncScriptTimeout(6) > POST /session/:sessionID/timeouts/async_script {"ms":6} > RESPONSE currentContext() "WEBVIEW_org.apache.mobilespec" > CALL context("NATIVE_APP") > POST /session/:sessionID/context {"name":"NATIVE_APP"} > RESPONSE setAsyncScriptTimeout(6) > CALL executeAsync(null,[]) > POST /session/:sessionID/execute_async {"script":"return (function > (callback) {\nvar obj = new ContactFindOptions();\n > obj.filter = 'DeleteMe';\nobj.multiple = true;\n > navigator.contacts.find(['note'], function(contacts) {\n > var removes = [];\n > contacts.forEach(function(contact) {\n > removes.push(contact);\n});\nif > (removes.length === 0) {\nreturn;\n > }\n\n var nextToRemove;\n if > (removes.length > 0) {\nnextToRemove = > removes.shift();\n}\n\nfunction > removeNext(item) {\nif (typeof item === 'undefined') > {\ncallback();\n > return;\n}\n\nif > (removes.length > 0) {\nnextToRemove = > removes.shift();\n} else {\n >nextToRemove = undefined;\n
[jira] [Commented] (CB-11033) Contacts plugin Appium tests: modifying a contact can take more than a minute on an emulator
[ https://issues.apache.org/jira/browse/CB-11033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15256005#comment-15256005 ] ASF subversion and git services commented on CB-11033: -- Commit 959c3983e01ae9e87c720b5206327c2ec9f64331 in cordova-plugin-contacts's branch refs/heads/master from [~alsorokin] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=959c398 ] CB-11033 Appium tests: more timeout tweaks > Contacts plugin Appium tests: modifying a contact can take more than a minute > on an emulator > > > Key: CB-11033 > URL: https://issues.apache.org/jira/browse/CB-11033 > Project: Apache Cordova > Issue Type: Bug > Components: Appium, Plugin Contacts >Affects Versions: Master > Environment: Windows 8.1, Android emulator, Api level 19 >Reporter: Alexander Sorokin >Assignee: Alexander Sorokin > Labels: triaged > > https://ci.apache.org/builders/cordova-android-win/builds/2053/steps/running-appium-tests/logs/stdio > {noformat} > Error: [executeAsync(null,["Dooney Evans","Urist","McContact"])] Error > response status: 28, , ScriptTimeout - A script did not complete before its > timeout expired. Selenium error: asynchronous script timeout: result was not > received in 60 seconds > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11033) Contacts plugin Appium tests: modifying a contact can take more than a minute on an emulator
[ https://issues.apache.org/jira/browse/CB-11033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15229996#comment-15229996 ] ASF GitHub Bot commented on CB-11033: - Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-contacts/pull/118 > Contacts plugin Appium tests: modifying a contact can take more than a minute > on an emulator > > > Key: CB-11033 > URL: https://issues.apache.org/jira/browse/CB-11033 > Project: Apache Cordova > Issue Type: Bug > Components: Appium, Plugin Contacts >Affects Versions: Master > Environment: Windows 8.1, Android emulator, Api level 19 >Reporter: Alexander Sorokin >Assignee: Alexander Sorokin > > https://ci.apache.org/builders/cordova-android-win/builds/2053/steps/running-appium-tests/logs/stdio > {noformat} > Error: [executeAsync(null,["Dooney Evans","Urist","McContact"])] Error > response status: 28, , ScriptTimeout - A script did not complete before its > timeout expired. Selenium error: asynchronous script timeout: result was not > received in 60 seconds > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11033) Contacts plugin Appium tests: modifying a contact can take more than a minute on an emulator
[ https://issues.apache.org/jira/browse/CB-11033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15229994#comment-15229994 ] ASF subversion and git services commented on CB-11033: -- Commit 0d33af8e4e197fc9204566b165cb5983ab442db8 in cordova-plugin-contacts's branch refs/heads/master from [~alsorokin] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-contacts.git;h=0d33af8 ] CB-11033 Appium tests: Increased the timeout for updating the contact > Contacts plugin Appium tests: modifying a contact can take more than a minute > on an emulator > > > Key: CB-11033 > URL: https://issues.apache.org/jira/browse/CB-11033 > Project: Apache Cordova > Issue Type: Bug > Components: Appium, Plugin Contacts >Affects Versions: Master > Environment: Windows 8.1, Android emulator, Api level 19 >Reporter: Alexander Sorokin >Assignee: Alexander Sorokin > > https://ci.apache.org/builders/cordova-android-win/builds/2053/steps/running-appium-tests/logs/stdio > {noformat} > Error: [executeAsync(null,["Dooney Evans","Urist","McContact"])] Error > response status: 28, , ScriptTimeout - A script did not complete before its > timeout expired. Selenium error: asynchronous script timeout: result was not > received in 60 seconds > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-11033) Contacts plugin Appium tests: modifying a contact can take more than a minute on an emulator
[ https://issues.apache.org/jira/browse/CB-11033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15229976#comment-15229976 ] ASF GitHub Bot commented on CB-11033: - GitHub user alsorokin opened a pull request: https://github.com/apache/cordova-plugin-contacts/pull/118 CB-11033 Appium tests: Increased the timeout for updating the contact https://issues.apache.org/jira/browse/CB-11033 You can merge this pull request into a Git repository by running: $ git pull https://github.com/MSOpenTech/cordova-plugin-contacts CB-11033 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-plugin-contacts/pull/118.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 #118 commit 0d33af8e4e197fc9204566b165cb5983ab442db8 Author: Alexander SorokinDate: 2016-04-07T09:17:55Z CB-11033 Appium tests: Increased the timeout for updating the contact > Contacts plugin Appium tests: modifying a contact can take more than a minute > on an emulator > > > Key: CB-11033 > URL: https://issues.apache.org/jira/browse/CB-11033 > Project: Apache Cordova > Issue Type: Bug > Components: Appium, Plugin Contacts >Affects Versions: Master > Environment: Windows 8.1, Android emulator, Api level 19 >Reporter: Alexander Sorokin >Assignee: Alexander Sorokin > > https://ci.apache.org/builders/cordova-android-win/builds/2053/steps/running-appium-tests/logs/stdio > {noformat} > Error: [executeAsync(null,["Dooney Evans","Urist","McContact"])] Error > response status: 28, , ScriptTimeout - A script did not complete before its > timeout expired. Selenium error: asynchronous script timeout: result was not > received in 60 seconds > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org