[portal-commits] JBoss Portal SVN: r13074 - in branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests: src/org/jboss/portal/test/selenium/portal and 1 other directory.
portal-commits at lists.jboss.org
portal-commits at lists.jboss.org
Tue Mar 24 08:12:03 EDT 2009
Author: vrockai
Date: 2009-03-24 08:12:03 -0400 (Tue, 24 Mar 2009)
New Revision: 13074
Modified:
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/run.sh
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/AdminPortalTestCase.java
Log:
selenium - more debug into portal admin
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/run.sh
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/run.sh 2009-03-24 11:49:16 UTC (rev 13073)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/run.sh 2009-03-24 12:12:03 UTC (rev 13074)
@@ -47,7 +47,7 @@
exit 0;
fi
ant -f build.xml copyApps
- ant -f build.xml selenium-test -Dbrowser="*firefox $2" -Dworkspace="/home/vrockai/workspace/ui-tests/" -Dscreenshot="true" -Dhtml-src="true"
+ ant -f build.xml selenium-test -Dbrowser="*firefox $2" -Dworkspace="/home/vrockai/workspace/ui-tests/" -Dscreenshot="true" -Dhtml-src="true" -Ddebug="true"
elif [ $1 = "end2end" ]; then
if [ -z "$2" -o ! -f "$2" ]; then
echo
@@ -55,7 +55,7 @@
exit 0;
fi
ant -f build.xml copyApps
- ant -f build.xml selenium-usecase -Dbrowser="*firefox $2" -Dworkspace="/home/vrockai/workspace/ui-tests/" -Dscreenshot="true" -Dhtml-src="true"
+ ant -f build.xml selenium-usecase -Dbrowser="*firefox $2" -Dworkspace="/home/vrockai/workspace/ui-tests/" -Dscreenshot="true" -Dhtml-src="true" -Ddebug="true"
elif [ $1 = "perf" ]; then
if [ -z "$2" -o ! -f "$2" ]; then
echo
@@ -63,7 +63,7 @@
exit 0;
fi
ant -f build.xml copyApps
- ant -f build.xml selenium-test -Dbrowser="*firefox $2" -Dworkspace="/home/vrockai/workspace/ui-tests/" -Dscreenshot="true" -Dhtml-src="true"
+ ant -f build.xml selenium-test -Dbrowser="*firefox $2" -Dworkspace="/home/vrockai/workspace/ui-tests/" -Dscreenshot="true" -Dhtml-src="true" -Ddebug="true"
elif [ $1 = "selenium" ]; then
ant -f build.xml run-src
elif [ $1 = "single" ]; then
@@ -77,6 +77,6 @@
echo "ERROR: Testclasss not set";
exit 0;
fi
- ant -f build.xml single-test -Dbrowser="*firefox $2" -Dtestname="$3" -Dscreenshot="true" -Dhtml-src="true"
+ ant -f build.xml single-test -Dbrowser="*firefox $2" -Dtestname="$3" -Dscreenshot="true" -Dhtml-src="true" -Ddebug="true"
fi
fi
Modified: branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/AdminPortalTestCase.java
===================================================================
--- branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/AdminPortalTestCase.java 2009-03-24 11:49:16 UTC (rev 13073)
+++ branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/AdminPortalTestCase.java 2009-03-24 12:12:03 UTC (rev 13074)
@@ -110,6 +110,7 @@
Assert.assertTrue(selenium.isTextPresent(portalName));
int r = findTableRow(TABLE_PORTAL_ADMIN, portalName, 0) - 1;
+ debugPrint(portalName + " : " + r);
Assert.assertTrue(selenium.isElementPresent(MessageFormat.format(POR_TL_MAIN, r)));
Assert.assertTrue(selenium.isElementPresent(MessageFormat.format(POR_TL_SECURITY, r)));
More information about the portal-commits
mailing list