<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Testing a Rails app that uses a feature-rich javascript library for UI]]></title>
		<link>http://railsforum.com/viewtopic.php?id=51086</link>
		<description><![CDATA[The most recent posts in Testing a Rails app that uses a feature-rich javascript library for UI.]]></description>
		<lastBuildDate>Wed, 31 Oct 2012 17:55:29 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Testing a Rails app that uses a feature-rich javascript library for UI]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=156707#p156707</link>
			<description><![CDATA[<p>I&#039;m working on a rails app that uses the dhtmlx javascript library.&nbsp; The app uses this library heavily for its UI.</p><p>Examples:<br /><a href="http://dhtmlx.com/docs/products/dhtmlxGrid/index.shtml">http://dhtmlx.com/docs/products/dhtmlxGrid/index.shtml</a><br /><a href="http://dhtmlx.com/docs/products/dhtmlxTree/index.shtml">http://dhtmlx.com/docs/products/dhtmlxTree/index.shtml</a></p><p>I&#039;m trying to figure out the best way to test this.&nbsp; Specifically, creating integration tests that work end-to-end that can be used to describe features doing outside-in development.&nbsp; I&#039;d like to use something like capybara with poltergeist/phantomjs or some other javascript-friendly driver.</p><p>But I can&#039;t figure out how to simulate even the simplest stuff, like clicking on the &quot;+&quot; icon to exapand/collapse a tree, etc.</p><p>Anyone tested a rails app that tightly integrates something like this?</p><p>Figured a fresh pair of eyes would help.</p><p>Thanks</p><p>Kenton</p>]]></description>
			<author><![CDATA[dummy@example.com (kenton)]]></author>
			<pubDate>Wed, 31 Oct 2012 17:55:29 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=156707#p156707</guid>
		</item>
	</channel>
</rss>
