I'm fine with adding a test for the pagination, but it will need to have more than 10 builds to test and will take the selenium test longer to finish.
Will that be alright? Thanks, -- Marica On Tue, May 25, 2010 at 6:42 PM, Deng Ching <[email protected]> wrote: > Hi Marica, > > Can you also add Selenium tests for querying specific builds and also for > pagination? > > Thanks, > Deng > > On Tue, May 25, 2010 at 11:51 AM, <[email protected]> wrote: > > > Author: ctan > > Date: Tue May 25 03:51:19 2010 > > New Revision: 947907 > > > > URL: http://svn.apache.org/viewvc?rev=947907&view=rev > > Log: > > [CONTINUUM-2521] added a builds report page > > - search by date range, triggered by, build status > > - paginated > > - TODO: export to file, selectable fields to display > > > > + > > +import org.apache.continuum.web.test.parent.AbstractContinuumTest; > > +import org.testng.annotations.Test; > > + > > +...@test( groups = { "report" }, dependsOnMethods = { > > "testWithCorrectUsernamePassword" } ) > > +public class ReportTest > > + extends AbstractContinuumTest > > +{ > > + @Test( dependsOnMethods = { "testProjectGroupAllBuildSuccess" } ) > > + public void testViewBuildsReport() > > + throws Exception > > + { > > + goToProjectBuildsReport(); > > + clickButtonWithValue( "View Report" ); > > + > > + assertProjectBuildReport(); > > + } > > +} > > >
