Author: lfryc(a)redhat.com
Date: 2010-07-10 16:53:00 -0400 (Sat, 10 Jul 2010)
New Revision: 17876
Modified:
root/tests/metamer/trunk/ftest/test-source/src/main/java/org/richfaces/tests/testapp/commandButton/CommandButtonTestCase.java
Log:
invalidating session before each method
Modified:
root/tests/metamer/trunk/ftest/test-source/src/main/java/org/richfaces/tests/testapp/commandButton/CommandButtonTestCase.java
===================================================================
---
root/tests/metamer/trunk/ftest/test-source/src/main/java/org/richfaces/tests/testapp/commandButton/CommandButtonTestCase.java 2010-07-10
20:52:34 UTC (rev 17875)
+++
root/tests/metamer/trunk/ftest/test-source/src/main/java/org/richfaces/tests/testapp/commandButton/CommandButtonTestCase.java 2010-07-10
20:53:00 UTC (rev 17876)
@@ -36,6 +36,7 @@
import org.jboss.test.selenium.locator.JQueryLocator;
import org.richfaces.tests.testapp.AbstractTestappTestCase;
import org.testng.annotations.AfterMethod;
+import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
/**
@@ -58,7 +59,7 @@
}
@Override
- @AfterMethod
+ @BeforeMethod(alwaysRun=true)
public void invalidateSession() {
super.invalidateSession();
}