Skip to content

Commit

Permalink
Merge pull request #22 from robertgates55/fix_groupsissue
Browse files Browse the repository at this point in the history
Fix Groups Issue (Issue #21)
  • Loading branch information
robertgates55 committed Sep 11, 2015
2 parents f4fce2f + be7e878 commit fcabaa7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/frameworkium/tests/internal/BaseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public abstract class BaseTest implements SauceOnDemandSessionIdProvider, SauceO
* - Initialise the screenshot capture
* - Configure the browser based on paramaters (maximise window, session resets, user agent)
*/
@BeforeSuite
@BeforeSuite(alwaysRun = true)
public static void instantiateDriverObject() {
driverType = new ThreadLocal<DriverType>() {
@Override
Expand Down Expand Up @@ -79,7 +79,7 @@ protected ScreenshotCapture initialValue() {
*
* @param testMethod - The test method name of the test
*/
@BeforeMethod
@BeforeMethod(alwaysRun = true)
public static void configureBrowserBeforeTest(Method testMethod) {
configureDriverBasedOnParams();
initialiseNewScreenshotCapture(testMethod);
Expand Down Expand Up @@ -140,7 +140,7 @@ private static void setUserAgent() {
/**
* Loops through all active driver types and tears down the driver object
*/
@AfterSuite
@AfterSuite(alwaysRun = true)
public static void closeDriverObject() {
try {
for (DriverType driverType : activeDriverTypes) {
Expand Down

0 comments on commit fcabaa7

Please sign in to comment.