1 package club.wpia.gigi.testUtils;
3 import static org.junit.Assert.*;
5 import java.io.IOException;
7 import club.wpia.gigi.GigiApiException;
8 import club.wpia.gigi.dbObjects.Group;
9 import club.wpia.gigi.pages.admin.support.SupportEnterTicketPage;
12 * Superclass for testsuites in a scenario where there is a supporter, who is
15 public abstract class SEClientTest extends ClientTest {
17 public SEClientTest() throws IOException, GigiApiException {
18 grant(u, Group.SUPPORTER);
19 cookie = login(email, TEST_PASSWORD);
20 assertEquals(302, post(cookie, SupportEnterTicketPage.PATH, "ticketno=a20140808.8&setTicket=action", 0).getResponseCode());