Another Selenium test case to add :) As for the pagination test, is there a way to load test data without the need to explicitly build the projects? If none, I guess we can hold off the pagination test for now..
On Wed, May 26, 2010 at 9:23 AM, Marica Tan <marica....@gmail.com> wrote: > The minimum number I set for row count is 10, so it will have an error if > it's less than that. > > > -- > Marica > > On Wed, May 26, 2010 at 9:15 AM, Deng Ching <och...@apache.org> wrote: > > > Isn't it possible to set the row count? You can set it to a lower number > > maybe 1 or 2 so that you won't need to have a large number of builds.. > > > > Thanks, > > Deng > > > > On Wed, May 26, 2010 at 9:07 AM, Marica Tan <marica....@gmail.com> > wrote: > > > > > 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 <och...@apache.org> 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, <c...@apache.org> 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(); > > > > > + } > > > > > +} > > > > > > > > > > > > > > >