package com.example.tests;

import org.testng.annotations.Test;

/**
 #parse Created by Mikhail on 25.08.2015.
 */
public class AlsoGroupCreationTests extends TestBase{

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

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

        fillGroupForm(groupsData);
        submitGroupCreation();
        returnToGroupsPage();

    }

    @Test
    public void testEmptyGroupCreation() throws Exception {
        openMainPage();
        openGroupsPage();
        initGroupsPage();
        fillGroupForm();
        submitGroupCreation();
        returnToGroupsPage();
    }


}



@@ -406,12 +406,8 @@
 me 1
- fix
 %22;%0A 

fix gpname