VoltDB/voltdb — pull request #632 by jmandile (2013-07-23 21:03:53+00:00)
Title: Web studio test

Added browser tests for webstudio user interface in tests/geb/studioWeb. Support for only Firefox and Chrome. Test uses Gradle wrapper to make build. First start genqa server and then run with ./gradle test

Test code in StudioWebDiag uses Geb and Spock to interact with in-browser elements in order to test the following:
--Ability to reach studioWeb page
--Ability to connect to running server. (server must have been initialized before tests are run)
--All important elements are present on page
--All system stored procedures are present
--Ability to issue SQL queries and ensure appropriate response is displayed
--The ReadMe file accessed through "About" on page is correct
--Ability to disconnect from server

build.gradle handles dependencies and reporting.

The files in tests/geb/studioWeb/src/test/resources specify the correct ReadMe file, the correct list of procedures, the correct list of important elements and the list of desired SQL queries. geb.config specifies webDriver instances depending on whether ./gradlew chromeTest or ./gradlew firefoxTest was invoked.

Additionally, in test/test_apps/genqa, a typo in ddl.sql was fixed