<commit_before>package com.example.tests;
import org.junit.After;
import org.junit.Before;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.*;
import org.testng.annotations.Test;

import java.util.concurrent.TimeUnit;

import static org.junit.Assert.fail;

/**
 * Created by Mikhail on 25.08.2015.
 */
public class GroupCreationTests {
    private WebDriver driver;
    private String baseUrl;
    private boolean acceptNextAlert = true;
    private StringBuffer verificationErrors = new StringBuffer();

    @Before
    public void setUp() throws Exception {
        driver = new FirefoxDriver();
        baseUrl = "http://localhost/";
        driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
    }

    @Test
    public void testNonEmptyGroupCreation() throws Exception {
        openMainPage();
        openGroupsPage();
        initGroupsPage();
        GroupsData groupsData = new GroupsData();

        groupsData.name = "group name 1";
        groupsData.header = "group name 1";
        groupsData.footer = "group name 1";

        /*groupsData.setName("groups 52");
        groupsData.setFooter("footer 52");
        groupsData.setHeader("header 52");*/
        fillGroupForm(groupsData);
        submitGroupCreation();
        returnToGroupsPage();
<commit_msg>1.1 testng is run.<commit_after>package com.example.tests;
import org.junit.After;
import org.junit.Before;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.*;
import org.testng.annotations.Test;

import java.util.concurrent.TimeUnit;

import static org.junit.Assert.fail;

/**
 * Created by Mikhail on 25.08.2015.
 */
public class GroupCreationTests {
    private WebDriver driver = new FirefoxDriver();
    private String baseUrl = "http://localhost/";
    private boolean acceptNextAlert = true;
    private StringBuffer verificationErrors = new StringBuffer();

    @Before
    public void setUp() throws Exception {
        driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
    }

    @Test
    public void testNonEmptyGroupCreation() throws Exception {
        openMainPage();
        openGroupsPage();
        initGroupsPage();
        GroupsData groupsData = new GroupsData();

        groupsData.name = "group name 1";
        groupsData.header = "group name 1";
        groupsData.footer = "group name 1";

        /*groupsData.setName("groups 52");
        groupsData.setFooter("footer 52");
        groupsData.setHeader("header 52");*/
        fillGroupForm(groupsData);
        submitGroupCreation();
        returnToGroupsPage();

{'fraction_non_alphanumeric': 0.11178707224334601, 'fraction_numerical': 0.015209125475285171, 'mean_word_length': 3.1894904458598727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3020457', 'n_tokens_mistral': 768, 'n_tokens_neox': 715, 'n_words': 179}