Line | |
---|
1 | package br.gov.serpro.cte.email.pastas; |
---|
2 | |
---|
3 | import org.junit.Test; |
---|
4 | |
---|
5 | import br.gov.serpro.cte.common.ExpressoMailTestCase; |
---|
6 | |
---|
7 | /** |
---|
8 | * @author L.F.Estivalet (Serpro) |
---|
9 | * |
---|
10 | * Created on Nov 17, 2010 at 9:40:23 AM |
---|
11 | * |
---|
12 | */ |
---|
13 | public class ApagarPastaTestCase extends ExpressoMailTestCase { |
---|
14 | |
---|
15 | @Test |
---|
16 | public void testaCriarPasta() throws Exception { |
---|
17 | super.enterExpressoMail(); |
---|
18 | selenium.click("//div[@id='menu_tools']/table/tbody/tr[4]/td"); |
---|
19 | selenium.click("lINBOX/Seleniumfolders_tree"); |
---|
20 | selenium.click("//input[@value='Excluir pasta']"); |
---|
21 | assertTrue(selenium.getConfirmation().matches( |
---|
22 | "^Você gostaria de excluir a pasta: Selenium[\\s\\S]$")); |
---|
23 | } |
---|
24 | |
---|
25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.