Author: mposolda(a)redhat.com
Date: 2009-07-30 07:53:49 -0400 (Thu, 30 Jul 2009)
New Revision: 13636
Modified:
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/CoordinationSamplesTestCase.java
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/EndtoEndPortalAdminTestCase.java
Log:
Refactoring of tests to fix failures with HTTPS testing.
Modified:
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/CoordinationSamplesTestCase.java
===================================================================
---
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/CoordinationSamplesTestCase.java 2009-07-30
11:18:13 UTC (rev 13635)
+++
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/CoordinationSamplesTestCase.java 2009-07-30
11:53:49 UTC (rev 13636)
@@ -835,7 +835,7 @@
selenium.type(PAR_R3_PVAL, "123");
selenium.click(PAR_R3_SUB);
selenium.waitForPageToLoad("30000");
- Assert.assertTrue(selenium.getLocation().endsWith("/portal/portal/default/Coordination+Samples/Parameters+-+Explicit%2BAlias?xyz=123"));
+ Assert.assertTrue(selenium.getLocation().endsWith("/portal/default/Coordination+Samples/Parameters+-+Explicit%2BAlias?xyz=123"));
}
/**
Modified:
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/EndtoEndPortalAdminTestCase.java
===================================================================
---
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/EndtoEndPortalAdminTestCase.java 2009-07-30
11:18:13 UTC (rev 13635)
+++
branches/Enterprise_Portal_Platform_4_3/testsuite/ui-tests/src/org/jboss/portal/test/selenium/portal/EndtoEndPortalAdminTestCase.java 2009-07-30
11:53:49 UTC (rev 13636)
@@ -483,7 +483,7 @@
// assert ERR handling
logout();
login("user", "user");
- openAndAssert("http://localhost:8080/portal/auth/portal/admin",
+ openAndAssert("/portal/auth/portal/admin",
"HTTP Status 403 - ");
logout();
login("admin", "admin");
Show replies by date