Mercurial > hg > ThermostatQA
changeset 60:11d675ee56e3
modifying GuiClientSmokeTest - search for AA/noAA pattern
author | Jana Fabrikova <jfabriko@redhat.com> |
---|---|
date | Thu, 06 Jun 2013 10:02:04 +0200 |
parents | 996ccd03715a |
children | 9e0089514225 |
files | ChangeLog scripts/mongoPortNumber.txt src/org/thermostat/qa/testsuites/GuiClientSmokeTest.java test.properties |
diffstat | 4 files changed, 7 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Jun 05 16:55:17 2013 +0200 +++ b/ChangeLog Thu Jun 06 10:02:04 2013 +0200 @@ -1,3 +1,8 @@ +2013-06-06 Jana Fabrikova <jfabriko@redhat.com> + + * src/org/thermostat/qa/testsuites/GuiClientSmokeTest.java: + modifying (testAllAgentsDialgo) - calling search for AA or noAA pattern + 2013-06-05 Jana Fabrikova <jfabriko@redhat.com> * src/org/thermostat/qa/framework/Patterns.java:
--- a/scripts/mongoPortNumber.txt Wed Jun 05 16:55:17 2013 +0200 +++ b/scripts/mongoPortNumber.txt Thu Jun 06 10:02:04 2013 +0200 @@ -1,11 +1,1 @@ 27518 -35272 (ESTABLISHED) -35274 (ESTABLISHED) -35273 (ESTABLISHED) -35276 (ESTABLISHED) -35277 (ESTABLISHED) -35278 (ESTABLISHED) -35279 (ESTABLISHED) -35280 (ESTABLISHED) -35281 (ESTABLISHED) -35282 (ESTABLISHED)
--- a/src/org/thermostat/qa/testsuites/GuiClientSmokeTest.java Wed Jun 05 16:55:17 2013 +0200 +++ b/src/org/thermostat/qa/testsuites/GuiClientSmokeTest.java Thu Jun 06 10:02:04 2013 +0200 @@ -428,7 +428,7 @@ } // we need to click on "Close" button that does not have focus :-/ - Rectangle rect = robot.findPattern(Patterns.AllAgentsDialog.CLOSE_BUTTON + ".png"); + Rectangle rect = findPattern(robot, Patterns.AllAgentsDialog.CLOSE_BUTTON, "all agents dialog/close button"); robot.clickToRectangle(rect); stopThermostatAndStorage(robot);
--- a/test.properties Wed Jun 05 16:55:17 2013 +0200 +++ b/test.properties Thu Jun 06 10:02:04 2013 +0200 @@ -1,3 +1,3 @@ -thermostat_executable_path=/home/jfabriko/thermostaty/thermostat/distribution/target/bin/ +thermostat_executable_path=/home/jfabriko/thermostaty/testing_thermostat/thermostat/distribution/target/bin/ thermostat_executable_name=thermostat