Update one Windmill UI test for Refine 2.5. Another 6 still need to be done.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2433 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Tom Morris 2012-01-27 16:26:42 +00:00
parent fdac0c30cf
commit 593c4123a9

View File

@ -7,14 +7,14 @@ var test_facets = new function() {
// test opening Food project // test opening Food project
test = newTest(); test = newTest();
assert (test, "assertText", { jquery: '("h1")[0]', validator: "Welcome to Google Refine" }); assert (test, "assertText", { id:"slogan", validator: "A power tool for working with messy data." });
this.test_home_page = test; this.test_home_page = test;
// make sure the dataset was loaded properly // make sure the dataset was loaded properly
test = newTest(); test = newTest();
action (test, "click", { link: "Food" }); action (test, "click", { link: "Food" });
wait (test, "forPageLoad", { timeout: "20000" }); wait (test, "forPageLoad", { timeout: "20000" });
assert (test, "rowCount", "7413" ); assert (test, "assertTest", {xpath: "//div[@id='summary-bar']/span",validator: "7413 rows"});
this.test_open_project = test; this.test_open_project = test;
// create text facet from 1st word of Short Description column // create text facet from 1st word of Short Description column