dalekjs

What is this DalekJS error when I try to run a test via PhantomJS?

和自甴很熟 提交于 2020-01-06 07:26:13
问题 Every time I try to run a test using PhantomJS, Dalek gives me this error. However using GoogleChrome the test runs properly. Running tests /Users/user/node_modules/dalekjs/node_modules/dalek-browser-phantomjs/index.js:273 this.spawned.kill('SIGTERM'); ^ TypeError: Cannot read property 'kill' of null at Object.PhantomJSDriver.kill (/Users/user/node_modules/dalekjs/node_modules/dalek-browser-phantomjs/index.js:273:17) at EventEmitter.emit (/Users/user/node_modules/dalekjs/node_modules

DalekJS: start browser with custom flags

自古美人都是妖i 提交于 2020-01-02 18:54:57
问题 Is there a way to pass flags / command line switches to the browser being used with DalekJS? Esentially, I want to use Chrome with some experimental features turned on: http://peter.sh/experiments/chromium-command-line-switches/ Vanilla CLI startup of custom Chrome looks like: open -a Google\ Chrome --args --enable-experimental-web-platform-features How can I feed those args to Dalek's instance of Chrome? 回答1: This hasn't made it into the official docs yet, but I recently merged a pull

DalekJS: start browser with custom flags

我是研究僧i 提交于 2020-01-02 18:54:28
问题 Is there a way to pass flags / command line switches to the browser being used with DalekJS? Esentially, I want to use Chrome with some experimental features turned on: http://peter.sh/experiments/chromium-command-line-switches/ Vanilla CLI startup of custom Chrome looks like: open -a Google\ Chrome --args --enable-experimental-web-platform-features How can I feed those args to Dalek's instance of Chrome? 回答1: This hasn't made it into the official docs yet, but I recently merged a pull

dalek-browser-chrome fails installing everytime

两盒软妹~` 提交于 2019-12-23 05:17:45
问题 on my Ubuntu. I tried installing the browser plugin from chrome just as the website says to execute. npm install dalek-browser-chrome --save-dev problem is I get this error when running the command. > dalek-browser-chrome@0.0.9 install /home/monece/Desktop/dalekjs/node_modules/dalek-browser-chrome > node install.js Chromedriver installation failed Error: EACCES, permission denied '/home/monece/tmp/chromedriver' at Object.fs.mkdirSync (fs.js:642:18) at mkdir (/home/monece/Desktop/dalekjs/node

How to set the browser language of PhantomJS

£可爱£侵袭症+ 提交于 2019-12-18 09:12:31
问题 I'm using DalekJS with PhantomJS to test a web application. I have important assertions which depend on the browser language. And these fail if the language is not English. Any Ideas how I can set the default browser language of pantomjs?? Cheers izocan. 回答1: This question has been further discussed here: https://groups.google.com/forum/#!topic/dalekjs/HHt6eoZRQc4 回答2: Let me answer my own question: The problem is solved when you use following code in your index.html: <script> localStorage

How do I do Automating Ember testing with Dalek (setup/teardown of specific Ember components)

自作多情 提交于 2019-12-13 04:34:34
问题 My TLDR; version of my question is "Is there a way I can integrate with qunit such that Dalek can get the correct context when it needs it, or conversely, can I get Dalek to run setup/teardown asset-pipeline-compiled Ember javascript to build a context for it to run tests on?" Firstup Dalek look awesome ! All my tests are currently written in qunit. I'm having some problems automating tests around a component I'm building in Ember. The component is a kind of WYSIWYG textarea. (BTW, my qunit

DalekJS v0.0.5 installation hung

时光总嘲笑我的痴心妄想 提交于 2019-12-12 04:32:06
问题 I am using Windows 10 x64 version 1607 - build 14393.222. Issue also reproduced on Windows 7 x64 SP1. DalekJS version: C:\Users\Administrator>dalek -v DalekJS CLI Tools Version: 0.0.5 Brought to you with love by: Sebastian Golasch (@asciidisco) 2013 NodeJS installation was successful - node-v6.8.0-x64.msi "npm install dalek-cli -g" command was successful "npm install dalekjs --save-dev" - this command was hung for over 8 hours. See snapshot attached. DalekJS installation hung at PhantomJS

DalekJS: start browser with custom flags

心已入冬 提交于 2019-12-06 11:35:55
Is there a way to pass flags / command line switches to the browser being used with DalekJS? Esentially, I want to use Chrome with some experimental features turned on: http://peter.sh/experiments/chromium-command-line-switches/ Vanilla CLI startup of custom Chrome looks like: open -a Google\ Chrome --args --enable-experimental-web-platform-features How can I feed those args to Dalek's instance of Chrome? This hasn't made it into the official docs yet, but I recently merged a pull request that allows you exactly that: See https://github.com/dalekjs/dalek-browser-chrome/pull/8 for more details.