Revision 4606,
1.1 KB
checked in by luiz-fernando, 13 years ago
(diff) |
Ticket #1771 - Metodos @Test tiveram seus nomes mudados para nomes mais significativos
|
Rev | Line | |
---|
[4344] | 1 | package org.expressolivre.cte.email.compor; |
---|
| 2 | |
---|
| 3 | import org.expressolivre.cte.common.BaseEmailTestCase; |
---|
| 4 | import org.expressolivre.cte.pages.email.MailPage; |
---|
| 5 | import org.testng.Assert; |
---|
| 6 | import org.testng.annotations.Test; |
---|
| 7 | |
---|
| 8 | /** |
---|
| 9 | * Suite:[FUN02.1] Compor Mensagem |
---|
| 10 | * |
---|
| 11 | * Caso de Teste: EL-545:Remover anexo da mensagem |
---|
| 12 | * |
---|
| 13 | * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item= |
---|
| 14 | * testcase&id=EL-545 |
---|
| 15 | * |
---|
| 16 | * @author L.F.Estivalet (Serpro) |
---|
| 17 | * |
---|
| 18 | * Created on Mai 11, 2011 at 9:35:11 AM |
---|
| 19 | * |
---|
| 20 | */ |
---|
| 21 | public class RemoverAnexoTestCase extends BaseEmailTestCase { |
---|
| 22 | |
---|
| 23 | /** |
---|
| 24 | * Executa o teste. Envia mensagem para email, assunto, texto e anexo |
---|
| 25 | * pre-definidos no arquivo de configuracao. Apos envio, verifica se o email |
---|
| 26 | * foi movido para a pasta de emails enviados. |
---|
| 27 | */ |
---|
| 28 | @Test |
---|
[4606] | 29 | public void enviarEmailRemovendoAnexo() { |
---|
[4344] | 30 | mp.composeEmail(EMAIL_TESTE_1, EMAIL_ASSUNTO_ANEXO, EMAIL_TEXTO_ANEXO); |
---|
| 31 | mp.addAttachment(ANEXO_1); |
---|
| 32 | mp.removeAttachment(); |
---|
| 33 | mp.sendMail(); |
---|
| 34 | mp.assertMessage(MSG_EMAIL_ENVIADO); |
---|
| 35 | Assert.assertNotNull(mp.findEmailIdBySubject(MailPage.SENT_FOLDER, |
---|
| 36 | EMAIL_ASSUNTO_ANEXO)); |
---|
| 37 | |
---|
| 38 | } |
---|
| 39 | |
---|
| 40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.