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(); }