/**
     * Reset YACC settings data so that tests can start at a clean slate.
     * This is sort of hackish... maybe the Atlassian integration test
     * API has a way to reset all the data?
     */
public static void resetData(BitbucketTestedProduct stash) {
        YaccRepoSettingsPage settingsPage = stash.visit(BitbucketLoginPage.class)
                .loginAsSysAdmin(YaccRepoSettingsPage.class);
        settingsPage.clickEditYacc()
                .clearSettings();
        settingsPage.clickSubmit();
        settingsPage.clickDisable();
        YaccGlobalSettingsPage globalSettingsPage = stash.visit(YaccGlobalSettingsPage.class);
        globalSettingsPage.clearSettings();
        globalSettingsPage.clickSubmit();
        stash.getTester().getDriver().manage().deleteAllCookies();
    }
public static void resetData(BitbucketTestedProduct stash) {
YaccRepoSettingsPage settingsPage = stash.visit(BitbucketLoginPage.class)
.loginAsSysAdmin(YaccRepoSettingsPage.class);
settingsPage.clickEditYacc()
.clearSettings();
settingsPage.clickSubmit();
settingsPage.clickDisable();
YaccGlobalSettingsPage globalSettingsPage = stash.visit(YaccGlobalSettingsPage.class);
globalSettingsPage.clearSettings();
globalSettingsPage.clickSubmit();
stash.getTester().getDriver().manage().deleteAllCookies();
}
public static void resetData(BitbucketTestedProduct stash) {
YaccRepoSettingsPage settingsPage = stash.visit(BitbucketLoginPage.class)
.loginAsSysAdmin(YaccRepoSettingsPage.class);
settingsPage.clickEditYacc()
.clearSettings();
settingsPage.clickSubmit();
settingsPage.clickDisable();
YaccGlobalSettingsPage globalSettingsPage = stash.visit(YaccGlobalSettingsPage.class);
globalSettingsPage.clearSettings();
globalSettingsPage.clickSubmit();
stash.getTester().getDriver().manage().deleteAllCookies();
}
public static void resetData(BitbucketTestedProduct stash) {
YaccRepoSettingsPage settingsPage = stash.visit(BitbucketLoginPage.class)
.loginAsSysAdmin(YaccRepoSettingsPage.class);
settingsPage.clickEditYacc()
.clearSettings();
settingsPage.clickSubmit();
settingsPage.clickDisable();
YaccGlobalSettingsPage globalSettingsPage = stash.visit(YaccGlobalSettingsPage.class);
globalSettingsPage.clearSettings();
globalSettingsPage.clickSubmit();
stash.getTester().getDriver().manage().deleteAllCookies();
}