Revision 4962,
971 bytes
checked in by luiz-fernando, 13 years ago
(diff) |
Ticket #1771 - Adicionado testes automatizados para modulo da agenda
|
Line | |
---|
1 | package org.expressolivre.cte.calendar.filtrar; |
---|
2 | |
---|
3 | import org.expressolivre.cte.common.BaseCalendarTestCase; |
---|
4 | import org.expressolivre.cte.pages.calendar.CalendarMonthlyViewPage; |
---|
5 | import org.testng.Assert; |
---|
6 | import org.testng.annotations.Test; |
---|
7 | |
---|
8 | /** |
---|
9 | * Suite:[FUN03.1] Filtrar Compromisso |
---|
10 | * |
---|
11 | * Caso de Teste: EL-1273:Filtrar compromissos por mes sem resultado |
---|
12 | * |
---|
13 | * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item= |
---|
14 | * testcase&id=EL-1273 |
---|
15 | * |
---|
16 | * @author L.F.Estivalet (Serpro) |
---|
17 | * |
---|
18 | * Created on Aug 15, 2011 at 2:22:46 PM |
---|
19 | * |
---|
20 | */ |
---|
21 | public class FiltrarCompromissosPorMesSemResultadoTestCase extends |
---|
22 | BaseCalendarTestCase { |
---|
23 | |
---|
24 | @Test |
---|
25 | public void filtrarCompromissoPorMesSemResultado() { |
---|
26 | |
---|
27 | CalendarMonthlyViewPage cmvp = cp.openMonthlyView(); |
---|
28 | |
---|
29 | // Assume que no mes anterior nao tenha nenhum compromisso na agenda. |
---|
30 | cp.setMonthFilter(super.getPreviousMonthYearName()); |
---|
31 | Assert.assertTrue(!cmvp.isTextPresent("[Selenium] Compromisso")); |
---|
32 | } |
---|
33 | |
---|
34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.