Comments (7)
Creating Appium POC project with JXcore to test with Cordova 6
from postcardapp.
Seems to better error reporting using beta version of Appium: npm install -g [email protected]
But looks like instruments can't communicate with device...
Also got error with Android device with Appium beta:
FATAL ERROR: invalid table size Allocation failed - process out of memory
from postcardapp.
In POC Cordova app I get error in test for 'POST /session/:sessionID/execute_async' command on iOS simulator: Original error: Error: SecurityError: DOM Exception 18
On iOS device appium error: Instruments exited with code 255
Instruments Usage Error : Specified target process is invalid: org.thaliproject.postcardapp
from postcardapp.
Started discussion around Cordova 6 on Appium -
https://discuss.appium.io/t/appium-and-cordova-6-web-apps/8638
from postcardapp.
Need to modify tests that involve page changing with new Appium web driver - it now fails when the new page loads
Error: [waitForConditionInBrowser("document.querySelectorAll('div').length > 0",36000)] Error response status: 17, , JavaScriptError - An error occurred while executing user supplied JavaScript. Selenium error: javascript error: document unloaded while waiting for result
(Session info: chrome=47.0.2526.100)
(Driver info: chromedriver=2.20.353124 (035346203162d32c80f1dce587c8154a1efa0c3b),platform=Mac OS X 10.10.5 x86_64)
- so 'waitForConditionInBrowser' doesn't wait for a condition in the browser to evaluate true anymore!!
from postcardapp.
Notes on fixing iOS tests broken after updating Cordova 6 / Appium 1.5 beta:
- replacing 'safeEval' with 'eval' - tests with 'safeEval' commands will fail.
- make sure 'waitForElementByCss' after changing page with 'click()'
- don't use 'waitForConditionInBrowser' to wait for browser conditions!
from postcardapp.
I now have all tests working again on iOS simulator!
There are Appium / instruments issues with iOS devices that can't be fixed here so I think we can close the issue.
Otherwise I have tried the standard iOS Webkit Debug Proxy, and the Appium recommend fork -
https://github.com/appium/appium/blob/master/docs/en/advanced-concepts/ios-webkit-debug-proxy.md
http://appium.io/slate/en/master/?javascript#ios-webkit-debug-proxy
from postcardapp.
Related Issues (20)
- Make change username a modal HOT 2
- Enable autofocus input
- Revert to stable Cordova plugins HOT 4
- URL safe device identity uses dash delimiter HOT 1
- Me record for peer exchange
- Live development reload
- Get Postcard app working without iframe HOT 9
- Build on Android only showing Postcard Logo HOT 11
- Story_001_dadougla build failed HOT 4
- Scanning for nearby devices doesn't seem to work. HOT 1
- Update gulp hook script to bundle Cordova plugins with jxcore express app
- Check postcard app with Cordova 6 HOT 5
- Appium capabilities config HOT 1
- Add sync tests to E2E appium tests HOT 3
- Cordova working with localhost HOT 1
- WKWebView update for iOS HOT 4
- Disable syncing card changes before login
- Architecture of Thali based applications HOT 3
- Fix packages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postcardapp.