I see, it's probably perfectly applicable to Travis CI (I would just
start the phantomjs webdriver server before executing tests) but what about:
http://code.google.com/p/google-web-toolkit/issues/detail?id=7768
Am 15.01.2013 02:29, schrieb Thomas Broyer:
Note that, while probably not applicable to Travis CI, there's
GhostDriver (WebDriver for PhantomJS) which should allow you to use
the Selenium RunStyle to drive PhantomJS.
On Monday, January 14, 2013 8:59:14 PM UTC+1, Maik Riechert wrote:
Hi all,
As htmlunit isn't suited for all testing scenarios (in particular
layout specific ones), I'd like to use PhantomJS as an alternative
(production mode only). It is a headless webkit engine and can be
easily controlled with JS files, meaning that the new RunStyle
would fork a shell process "phantomjs pageload.js" where
pageload.js would be written to disk beforehand containing:
var page = require('webpage').create();
var url = 'http://host/gwt...';
page.open(url, function (status) {
//Page is loaded!
phantom.exit();
});
This is particularly great for CI, in my case Travis CI, as it
already has phantomjs installed. Is there a way that I can write a
new RunStyle class and make it available as a kind of plugin? Or
do I really have to submit it as a patch and hope that it gets
included in the official GWT distribution?
Thanks for your support!
Maik
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors