package br.gov.serpro.cte.email.compor; import org.junit.Test; import br.gov.serpro.cte.common.ExpressoMailTestCase; /** * @author L.F.Estivalet (Serpro) * * Created on Nov 16, 2010 at 4:33:18 PM * */ public class SalvarEmailTestCase extends ExpressoMailTestCase { @Test public void testaSalvarEmail() throws Exception { super.composeEmail(Valor.EMAIL_TESTE_1.getValue(), Valor.ASSUNTO_SALVAR.getValue()); selenium.click(Campo.SALVAR.getValue()); super.waitForElement(Campo.MENSAGEM.getValue()); assertEquals(Mensagem.SALVA_RASCUNHO.getValue(), selenium.getText(Campo.MENSAGEM.getValue())); } }