Revision 4675,
941 bytes
checked in by luiz-fernando, 13 years ago
(diff) |
Ticket #1771 - Refactoring, criadas novas classes para Pasta, Filtro, Pesquisa
|
Line | |
---|
1 | package org.expressolivre.cte.email.pastas; |
---|
2 | |
---|
3 | import org.expressolivre.cte.common.BaseEmailTestCase; |
---|
4 | import org.expressolivre.cte.pages.email.MailFolderPage; |
---|
5 | import org.openqa.selenium.Alert; |
---|
6 | import org.testng.annotations.Test; |
---|
7 | |
---|
8 | /** |
---|
9 | * Suite:[FUN02.6] Gerenciar Pastas |
---|
10 | * |
---|
11 | * Caso de Teste: EL-616:Excluir pasta com subpastas |
---|
12 | * |
---|
13 | * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item= |
---|
14 | * testcase&id=EL-616 |
---|
15 | * |
---|
16 | * @see org.expressolivre.cte.email.pastas.CriarPastaTestCase |
---|
17 | * |
---|
18 | * @author L.F.Estivalet (Serpro) |
---|
19 | * |
---|
20 | * Created on Jan 19, 2011 at 2:40:25 PM |
---|
21 | * |
---|
22 | */ |
---|
23 | |
---|
24 | public class ApagarPastaComSubPastaTestCase extends BaseEmailTestCase { |
---|
25 | |
---|
26 | @Test |
---|
27 | public void deleteFolderWithSubFolder() { |
---|
28 | MailFolderPage mfp = mp.editFolder(); |
---|
29 | mfp.deleteFolder(EMAIL_PASTA_TESTE); |
---|
30 | Alert confirm = driver.switchTo().alert(); |
---|
31 | assert ("Remova suas sub-pastas primeiro.").equals(confirm.getText()); |
---|
32 | confirm.accept(); |
---|
33 | } |
---|
34 | |
---|
35 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.