Skip to content

Instantly share code, notes, and snippets.

@mde
Created May 3, 2010 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mde/388573 to your computer and use it in GitHub Desktop.
Save mde/388573 to your computer and use it in GitHub Desktop.
var wm = windmill.jsTest;
var asserts = windmill.controller.asserts;
var test_openProject = new function () {
this.test_click = function () {
wm.actions.click( { link: "Food" } );
};
this.test_wait = { method: "waits.forPageLoad", params: { timeout: "20000" }};
this.test_text = function () {
asserts.assertText( { jquery: '(".viewPanel-summary-row-count")[0]', validator: "7413" } );
};
}();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment