continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marica Tan <marica....@gmail.com>
Subject Re: svn commit: r947907 [1/3] - in /continuum/trunk: continuum-api/src/main/java/org/apache/continuum/dao/ continuum-api/src/main/java/org/apache/maven/continuum/ continuum-core/src/main/java/org/apache/maven/continuum/ continuum-data-management/data
Date Wed, 26 May 2010 01:07:05 GMT
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 <oching@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, <ctan@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();
> > +    }
> > +}
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message