VoltDB/voltdb — pull request #613 by jmandile (2013-07-10 21:27:59+00:00)
Title: Geb 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. 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
--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 and the correct list of important elements. geb.config specifies webDriver instances depending on whether ./gradlew chromeTest or ./gradlew firefoxTest was invoked.