From 593c4123a93714d2de1776eba585f87c7b4def66 Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Fri, 27 Jan 2012 16:26:42 +0000 Subject: [PATCH] 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 --- main/tests/client/src/facets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/tests/client/src/facets.js b/main/tests/client/src/facets.js index 21c2a023a..919d329a3 100644 --- a/main/tests/client/src/facets.js +++ b/main/tests/client/src/facets.js @@ -7,14 +7,14 @@ var test_facets = new function() { // test opening Food project 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; // make sure the dataset was loaded properly test = newTest(); action (test, "click", { link: "Food" }); 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; // create text facet from 1st word of Short Description column