Protractor doesn't support angular synchronization on iOS #2840
Description
This issue is similar to #1736
I cannot run my tests on iOS real device using appium and protractor. Tests fail each time with following errror: 'ERROR running appium command: Cannot assign to read only property X of true' where X is 'random' digit.
I've tried many configuration varieties, etc. and still got the same error.
The only workaround is to turn of synchronization by adding ignoreSynchronization=true to my tests. But with such workaround there is no point to use protractor anymore.
Here are instructions to integrate iOS with Safari, Appium and protractor:
- git clone appium
- intialize appium by running:
./reset.sh --ios --real-safari --profile '34e19aa1-xxxx-xxxx-xxxx-xxxxxxxxx' --verbose
- run webproxy:
./bin/ios-webkit-debug-proxy-launcher.js -cXXXXXXXXXXXXXXX -d
- start appium server:
node lib/server/main.js -U XXXXXXXXXXXXXXXXXXXXXXXXXXX
- run test by executing:
protractor test.conf.js
You can find test.conf.js, appium console output and protractor console output in attached.
I've also tried to run tests with selenium grid by registering iOS node and the result was the same
Versions:
- OSX El Capitan, 10.11.12
- Xcode 7.2
- Appium 1.4.16
- Protractor 3.0.0
- node 5.4.0
- npm 3.3.12
- DUT iOS version 9.2
If you need any additional information please let me know.
Just FYI, I can successfully run the same script with similar configuration on Windows - IE, Firefox, Chrome and Android - Chrome - real device