I don't get javascript to run in a codeception, WebDriver (PhantomJS) setup for a Yii1 install.
- Codeception (2.1.0-rc1)
- PhantomJS (1.9.7)
- Yii (1.1.14)
Everything is running fine. I can fill in Forms, click stuff etc pp ... BUT javascript is not executed.
Here is my acceptphantom.suite.yml
class_name: AcceptphantomDev
modules:
enabled:
- AcceptphantomHelper
- WebDriver
- Yii1
config:
WebDriver:
url: 'http://ift.tt/1JRjv4t' # our url base
host: project.local
port: 4444
browser: phantomjs
window_size: 1024x768
capabilities:
unexpectedAlertBehaviour: ‘accept’
javascriptEnabled: true
localToRemoteUrlAccessEnabled: true
webStorageEnabled: true
Yii1:
appPath: '../../www/test.php'
url: 'http://ift.tt/1JRjv4t'
And I am running the phantomJS Server with:
phantomJS --webdriver=4444
What is also odd is that the screenshots in ./_log are created as empty png files - but that has no priority (just in case that is connected)
Aucun commentaire:
Enregistrer un commentaire