// Path: src/test/java/com/poseidon/controller/PoseidonApplicationTests.java
// @SpringApplicationConfiguration(classes = {PoseidonApplication.class, WebSecurityConfig.class})
// @WebIntegrationTest("server.port:0")
// @DirtiesContext
// public class PoseidonApplicationTests extends AbstractTestNGSpringContextTests {
// 
// 
// }


import com.poseidon.controller.PoseidonApplicationTests;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import java.util.List;
import static org.junit.Assert.fail;
package com.poseidon;




public class FunctionalTest extends PoseidonApplicationTests {

    private WebDriver driver;
    private String userAdmin = "admin";
    private String passwordAdmin = "admin";
    private String user = "user";
    private String passwordUser = "user";
    private String newQuiropraxist = "Gregory House";
    private String newPacient = "Maria";
    private String newBorn = "test";
    private String newBornPassword = "test";
    private String homeTitle = "Home";
    private String patientTitle = "Paciente";
    private String consultTitle = "Consulta";
    private String quiropraxistTitle = "Quiropraxista";
    private String accountTitle = "Conta";
    private String aboutTitle = "Sobre";
    private String loginTitle = "Login";

    @Before
    public void setUp() throws Exception {
        driver = new FirefoxDriver();
    }

    @Test
// Path: src/test/java/com/poseidon/controller/PoseidonApplicationTests.java
// @SpringApplicationConfiguration(classes = {PoseidonApplication.class, WebSecurityConfig.class})
// @WebIntegrationTest("server.port:0")
// @DirtiesContext
// public class PoseidonApplicationTests extends AbstractTestNGSpringContextTests {
// 
// 
// }


// Path: src/test/java/com/poseidon/FunctionalTest.java
import com.poseidon.controller.PoseidonApplicationTests;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import java.util.List;
import static org.junit.Assert.fail;

package com.poseidon;




public class FunctionalTest extends PoseidonApplicationTests {

    private WebDriver driver;
    private String userAdmin = "admin";
    private String passwordAdmin = "admin";
    private String user = "user";
    private String passwordUser = "user";
    private String newQuiropraxist = "Gregory House";
    private String newPacient = "Maria";
    private String newBorn = "test";
    private String newBornPassword = "test";
    private String homeTitle = "Home";
    private String patientTitle = "Paciente";
    private String consultTitle = "Consulta";
    private String quiropraxistTitle = "Quiropraxista";
    private String accountTitle = "Conta";
    private String aboutTitle = "Sobre";
    private String loginTitle = "Login";

    @Before
    public void setUp() throws Exception {
        driver = new FirefoxDriver();
    }

    @Test
    public void adminAccess() {