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(getValor("email.teste.1"), getValor("assunto.salvar"), getValor("texto.email.salvo")); selenium.click(getCampo("email.salvar")); super.waitForElement(getCampo("email.mensagem")); super.assertMessage(getCampo("email.mensagem"), getMensagem("salva.rascunho")); } }