You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by Brett Porter <br...@apache.org> on 2006/12/27 04:08:36 UTC
selenium tests
Hi,
A few observations on these. Does anyone else have outstanding
"todos" in this area? Would like to gatehr them up and get them
resolved to make them useful.
1) these need to be run regularly to be really useful. They aren't
part of the main build ( a good idea, since it requires a UI and
takes forever). Is there a way to run them in rhino so we can run
them as part of the main build and then turn on the other profiles
when we have mutliple platforms to test on?
2) they currently all fail - Franz says it's due to UI changes we
haven't caught up to. See #1 :) Are the UI changes abstracted
sufficiently that this will be a quick fix, or is it going to a be a
big search and replace job? They fail due to "user authenticated"
assertions failing.
3) Is there a way to get it to stop after a certain number of
failures? 39 open firefox browser instances caused my mac to kernel
panic.
4) I underestand that the plexus-security related tests are shared
across both webapps. Should we put some helper code into plexus-
security that can be used by these tests so that changes there can be
addressed there (preferably using the example webapp)?
I think this is the list of things to get done - I can put them in
JIRA if there isn't anything extra or anything I've missed in the list.
- brett
RE: selenium tests
Posted by Vincent Massol <vi...@massol.net>.
> -----Original Message-----
> From: Brett Porter [mailto:brett@apache.org]
> Sent: vendredi 29 décembre 2006 09:17
> To: continuum-dev@maven.apache.org
> Subject: Re: selenium tests
>
> Only on clean - which you want to do to clean out the database, etc
> but not the container install.
>
> I would rather the cargo plugin used the maven repository, myself :)
There's actually a patch in cargo's jira for this. It simply needs to be
applied (unfortunately I've not worked on cargo for the past 2 weeks with my
new day time job - Let's hope some other cargo committer can apply it or
I'll apply it when I do some cargo work next time).
BTW if you don't specify any target directory cargo saves the download in
the tmp directory.
Thanks
-Vincent
> On 29/12/2006, at 6:22 PM, Rahul Thakur wrote:
>
> > The container shouldn't be downloaded everytime by default.
> >
> > But I agree perhaps another temp location is a better candidate for
> > setting up container installation - may be 'target' directory under
> > top level root?
> >
> > Rahul
> >
> > ----- Original Message ----- From: "Brett Porter" <br...@apache.org>
> > To: <co...@maven.apache.org>
> > Sent: Friday, December 29, 2006 6:56 PM
> > Subject: Re: selenium tests
> >
> >
> >> 8) store the cargo container installs somewhere other than target,
> >> so I can run clean tests without the massive download.
> >>
> >> On 28/12/2006, at 12:51 PM, Franz Allan Valencia See wrote:
> >>
> >>> On 12/27/06, Brett Porter <br...@apache.org> wrote:
> >>>> 6) we should use dbunit or something similar to set the database
> up
> >>>> into a consistent state for the respective tests, and tear it down
> >>>> again. Running through the web interface in tearDown is time
> >>>> consuming, and error prone (if you add a new test that doesn't
> tear
> >>>> itself down, then a different test fails).
> >>>>
> >>>> On 27/12/2006, at 3:57 PM, Brett Porter wrote:
> >>>>
> >>>> > see below
> >>>> >
> >>>> > On 27/12/2006, at 3:09 PM, Brett Porter wrote:
> >>>> >
> >>>> >>
> >>>> >> On 27/12/2006, at 2:08 PM, Brett Porter wrote:
> >>>> >>
> >>>> >>> Hi,
> >>>> >>>
> >>>> >>> A few observations on these. Does anyone else have outstanding
> >>>> >>> "todos" in this area? Would like to gatehr them up and get
> them
> >>>> >>> resolved to make them useful.
> >>>> >>>
> >>>> >>> 1) these need to be run regularly to be really useful. They
> >>>> >>> aren't part of the main build ( a good idea, since it
> >>>> requires a
> >>>> >>> UI and takes forever). Is there a way to run them in rhino
> >>>> so we
> >>>> >>> can run them as part of the main build and then turn on the
> >>>> >>> other
> >>>> >>> profiles when we have mutliple platforms to test on?
> >>>> >>>
> >>>> >>> 2) they currently all fail - Franz says it's due to UI
> >>>> changes >>> we
> >>>> >>> haven't caught up to. See #1 :) Are the UI changes abstracted
> >>>> >>> sufficiently that this will be a quick fix, or is it going to
> a
> >>>> >>> be a big search and replace job? They fail due to "user
> >>>> >>> authenticated" assertions failing.
> >>>> >>
> >>>> >> Fixed the fundamental problem, now it's just UI changes.
> >>>> >>
> >>>> >> Down to 14 :)
> >>>> >
> >>>> > Down to 5 (AccountSecurityTest, ProjectGroupTest). I'll look >
> >>>> later.
> >>>> >
> >>>> >>
> >>>> >>>
> >>>> >>> 3) Is there a way to get it to stop after a certain number of
> >>>> >>> failures? 39 open firefox browser instances caused my mac to
> >>>> >>> kernel panic.
> >>>> >>>
> >>>> >>> 4) I underestand that the plexus-security related tests are
> >>>> >>> shared across both webapps. Should we put some helper code
> into
> >>>> >>> plexus-security that can be used by these tests so that
> changes
> >>>> >>> there can be addressed there (preferably using the example
> >>>> webapp)?
> >>>> >>>
> >>>> >>> I think this is the list of things to get done - I can put
> them
> >>>> >>> in JIRA if there isn't anything extra or anything I've
> >>>> missed in
> >>>> >>> the list.
> >>>> >>>
> >>>> >>> - brett
> >>>> >
> >>>> > 5) the continuum tearDown should not swallow exceptions
> (retthrow
> >>>> > them, but that means changing the abstract selenium test case to
> >>>> > throw it too)
> >>>> >
> >>>>
> >>>
> >>> 7.) Switch to Tomcat 5.5.17 to support the email validations ( a
> bug
> >>> in 5.5.20 prohibits that ).
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
Re: selenium tests
Posted by Brett Porter <br...@apache.org>.
Only on clean - which you want to do to clean out the database, etc
but not the container install.
I would rather the cargo plugin used the maven repository, myself :)
- Brett
On 29/12/2006, at 6:22 PM, Rahul Thakur wrote:
> The container shouldn't be downloaded everytime by default.
>
> But I agree perhaps another temp location is a better candidate for
> setting up container installation - may be 'target' directory under
> top level root?
>
> Rahul
>
> ----- Original Message ----- From: "Brett Porter" <br...@apache.org>
> To: <co...@maven.apache.org>
> Sent: Friday, December 29, 2006 6:56 PM
> Subject: Re: selenium tests
>
>
>> 8) store the cargo container installs somewhere other than target,
>> so I can run clean tests without the massive download.
>>
>> On 28/12/2006, at 12:51 PM, Franz Allan Valencia See wrote:
>>
>>> On 12/27/06, Brett Porter <br...@apache.org> wrote:
>>>> 6) we should use dbunit or something similar to set the database up
>>>> into a consistent state for the respective tests, and tear it down
>>>> again. Running through the web interface in tearDown is time
>>>> consuming, and error prone (if you add a new test that doesn't tear
>>>> itself down, then a different test fails).
>>>>
>>>> On 27/12/2006, at 3:57 PM, Brett Porter wrote:
>>>>
>>>> > see below
>>>> >
>>>> > On 27/12/2006, at 3:09 PM, Brett Porter wrote:
>>>> >
>>>> >>
>>>> >> On 27/12/2006, at 2:08 PM, Brett Porter wrote:
>>>> >>
>>>> >>> Hi,
>>>> >>>
>>>> >>> A few observations on these. Does anyone else have outstanding
>>>> >>> "todos" in this area? Would like to gatehr them up and get them
>>>> >>> resolved to make them useful.
>>>> >>>
>>>> >>> 1) these need to be run regularly to be really useful. They
>>>> >>> aren't part of the main build ( a good idea, since it
>>>> requires a
>>>> >>> UI and takes forever). Is there a way to run them in rhino
>>>> so we
>>>> >>> can run them as part of the main build and then turn on the
>>>> >>> other
>>>> >>> profiles when we have mutliple platforms to test on?
>>>> >>>
>>>> >>> 2) they currently all fail - Franz says it's due to UI
>>>> changes >>> we
>>>> >>> haven't caught up to. See #1 :) Are the UI changes abstracted
>>>> >>> sufficiently that this will be a quick fix, or is it going to a
>>>> >>> be a big search and replace job? They fail due to "user
>>>> >>> authenticated" assertions failing.
>>>> >>
>>>> >> Fixed the fundamental problem, now it's just UI changes.
>>>> >>
>>>> >> Down to 14 :)
>>>> >
>>>> > Down to 5 (AccountSecurityTest, ProjectGroupTest). I'll look >
>>>> later.
>>>> >
>>>> >>
>>>> >>>
>>>> >>> 3) Is there a way to get it to stop after a certain number of
>>>> >>> failures? 39 open firefox browser instances caused my mac to
>>>> >>> kernel panic.
>>>> >>>
>>>> >>> 4) I underestand that the plexus-security related tests are
>>>> >>> shared across both webapps. Should we put some helper code into
>>>> >>> plexus-security that can be used by these tests so that changes
>>>> >>> there can be addressed there (preferably using the example
>>>> webapp)?
>>>> >>>
>>>> >>> I think this is the list of things to get done - I can put them
>>>> >>> in JIRA if there isn't anything extra or anything I've
>>>> missed in
>>>> >>> the list.
>>>> >>>
>>>> >>> - brett
>>>> >
>>>> > 5) the continuum tearDown should not swallow exceptions (retthrow
>>>> > them, but that means changing the abstract selenium test case to
>>>> > throw it too)
>>>> >
>>>>
>>>
>>> 7.) Switch to Tomcat 5.5.17 to support the email validations ( a bug
>>> in 5.5.20 prohibits that ).
Re: selenium tests
Posted by Rahul Thakur <ra...@gmail.com>.
The container shouldn't be downloaded everytime by default.
But I agree perhaps another temp location is a better candidate for
setting up container installation - may be 'target' directory under top
level root?
Rahul
----- Original Message -----
From: "Brett Porter" <br...@apache.org>
To: <co...@maven.apache.org>
Sent: Friday, December 29, 2006 6:56 PM
Subject: Re: selenium tests
> 8) store the cargo container installs somewhere other than target, so
> I can run clean tests without the massive download.
>
> On 28/12/2006, at 12:51 PM, Franz Allan Valencia See wrote:
>
>> On 12/27/06, Brett Porter <br...@apache.org> wrote:
>>> 6) we should use dbunit or something similar to set the database up
>>> into a consistent state for the respective tests, and tear it down
>>> again. Running through the web interface in tearDown is time
>>> consuming, and error prone (if you add a new test that doesn't tear
>>> itself down, then a different test fails).
>>>
>>> On 27/12/2006, at 3:57 PM, Brett Porter wrote:
>>>
>>> > see below
>>> >
>>> > On 27/12/2006, at 3:09 PM, Brett Porter wrote:
>>> >
>>> >>
>>> >> On 27/12/2006, at 2:08 PM, Brett Porter wrote:
>>> >>
>>> >>> Hi,
>>> >>>
>>> >>> A few observations on these. Does anyone else have outstanding
>>> >>> "todos" in this area? Would like to gatehr them up and get them
>>> >>> resolved to make them useful.
>>> >>>
>>> >>> 1) these need to be run regularly to be really useful. They
>>> >>> aren't part of the main build ( a good idea, since it requires a
>>> >>> UI and takes forever). Is there a way to run them in rhino so we
>>> >>> can run them as part of the main build and then turn on the
>>> >>> other
>>> >>> profiles when we have mutliple platforms to test on?
>>> >>>
>>> >>> 2) they currently all fail - Franz says it's due to UI changes
>>> >>> we
>>> >>> haven't caught up to. See #1 :) Are the UI changes abstracted
>>> >>> sufficiently that this will be a quick fix, or is it going to a
>>> >>> be a big search and replace job? They fail due to "user
>>> >>> authenticated" assertions failing.
>>> >>
>>> >> Fixed the fundamental problem, now it's just UI changes.
>>> >>
>>> >> Down to 14 :)
>>> >
>>> > Down to 5 (AccountSecurityTest, ProjectGroupTest). I'll look
>>> > later.
>>> >
>>> >>
>>> >>>
>>> >>> 3) Is there a way to get it to stop after a certain number of
>>> >>> failures? 39 open firefox browser instances caused my mac to
>>> >>> kernel panic.
>>> >>>
>>> >>> 4) I underestand that the plexus-security related tests are
>>> >>> shared across both webapps. Should we put some helper code into
>>> >>> plexus-security that can be used by these tests so that changes
>>> >>> there can be addressed there (preferably using the example
>>> webapp)?
>>> >>>
>>> >>> I think this is the list of things to get done - I can put them
>>> >>> in JIRA if there isn't anything extra or anything I've missed in
>>> >>> the list.
>>> >>>
>>> >>> - brett
>>> >
>>> > 5) the continuum tearDown should not swallow exceptions (retthrow
>>> > them, but that means changing the abstract selenium test case to
>>> > throw it too)
>>> >
>>>
>>
>> 7.) Switch to Tomcat 5.5.17 to support the email validations ( a bug
>> in 5.5.20 prohibits that ).
Re: selenium tests
Posted by Brett Porter <br...@apache.org>.
8) store the cargo container installs somewhere other than target, so
I can run clean tests without the massive download.
On 28/12/2006, at 12:51 PM, Franz Allan Valencia See wrote:
> On 12/27/06, Brett Porter <br...@apache.org> wrote:
>> 6) we should use dbunit or something similar to set the database up
>> into a consistent state for the respective tests, and tear it down
>> again. Running through the web interface in tearDown is time
>> consuming, and error prone (if you add a new test that doesn't tear
>> itself down, then a different test fails).
>>
>> On 27/12/2006, at 3:57 PM, Brett Porter wrote:
>>
>> > see below
>> >
>> > On 27/12/2006, at 3:09 PM, Brett Porter wrote:
>> >
>> >>
>> >> On 27/12/2006, at 2:08 PM, Brett Porter wrote:
>> >>
>> >>> Hi,
>> >>>
>> >>> A few observations on these. Does anyone else have outstanding
>> >>> "todos" in this area? Would like to gatehr them up and get them
>> >>> resolved to make them useful.
>> >>>
>> >>> 1) these need to be run regularly to be really useful. They
>> >>> aren't part of the main build ( a good idea, since it requires a
>> >>> UI and takes forever). Is there a way to run them in rhino so we
>> >>> can run them as part of the main build and then turn on the other
>> >>> profiles when we have mutliple platforms to test on?
>> >>>
>> >>> 2) they currently all fail - Franz says it's due to UI changes we
>> >>> haven't caught up to. See #1 :) Are the UI changes abstracted
>> >>> sufficiently that this will be a quick fix, or is it going to a
>> >>> be a big search and replace job? They fail due to "user
>> >>> authenticated" assertions failing.
>> >>
>> >> Fixed the fundamental problem, now it's just UI changes.
>> >>
>> >> Down to 14 :)
>> >
>> > Down to 5 (AccountSecurityTest, ProjectGroupTest). I'll look later.
>> >
>> >>
>> >>>
>> >>> 3) Is there a way to get it to stop after a certain number of
>> >>> failures? 39 open firefox browser instances caused my mac to
>> >>> kernel panic.
>> >>>
>> >>> 4) I underestand that the plexus-security related tests are
>> >>> shared across both webapps. Should we put some helper code into
>> >>> plexus-security that can be used by these tests so that changes
>> >>> there can be addressed there (preferably using the example
>> webapp)?
>> >>>
>> >>> I think this is the list of things to get done - I can put them
>> >>> in JIRA if there isn't anything extra or anything I've missed in
>> >>> the list.
>> >>>
>> >>> - brett
>> >
>> > 5) the continuum tearDown should not swallow exceptions (retthrow
>> > them, but that means changing the abstract selenium test case to
>> > throw it too)
>> >
>>
>
> 7.) Switch to Tomcat 5.5.17 to support the email validations ( a bug
> in 5.5.20 prohibits that ).
Re: selenium tests
Posted by Franz Allan Valencia See <fr...@gmail.com>.
On 12/27/06, Brett Porter <br...@apache.org> wrote:
> 6) we should use dbunit or something similar to set the database up
> into a consistent state for the respective tests, and tear it down
> again. Running through the web interface in tearDown is time
> consuming, and error prone (if you add a new test that doesn't tear
> itself down, then a different test fails).
>
> On 27/12/2006, at 3:57 PM, Brett Porter wrote:
>
> > see below
> >
> > On 27/12/2006, at 3:09 PM, Brett Porter wrote:
> >
> >>
> >> On 27/12/2006, at 2:08 PM, Brett Porter wrote:
> >>
> >>> Hi,
> >>>
> >>> A few observations on these. Does anyone else have outstanding
> >>> "todos" in this area? Would like to gatehr them up and get them
> >>> resolved to make them useful.
> >>>
> >>> 1) these need to be run regularly to be really useful. They
> >>> aren't part of the main build ( a good idea, since it requires a
> >>> UI and takes forever). Is there a way to run them in rhino so we
> >>> can run them as part of the main build and then turn on the other
> >>> profiles when we have mutliple platforms to test on?
> >>>
> >>> 2) they currently all fail - Franz says it's due to UI changes we
> >>> haven't caught up to. See #1 :) Are the UI changes abstracted
> >>> sufficiently that this will be a quick fix, or is it going to a
> >>> be a big search and replace job? They fail due to "user
> >>> authenticated" assertions failing.
> >>
> >> Fixed the fundamental problem, now it's just UI changes.
> >>
> >> Down to 14 :)
> >
> > Down to 5 (AccountSecurityTest, ProjectGroupTest). I'll look later.
> >
> >>
> >>>
> >>> 3) Is there a way to get it to stop after a certain number of
> >>> failures? 39 open firefox browser instances caused my mac to
> >>> kernel panic.
> >>>
> >>> 4) I underestand that the plexus-security related tests are
> >>> shared across both webapps. Should we put some helper code into
> >>> plexus-security that can be used by these tests so that changes
> >>> there can be addressed there (preferably using the example webapp)?
> >>>
> >>> I think this is the list of things to get done - I can put them
> >>> in JIRA if there isn't anything extra or anything I've missed in
> >>> the list.
> >>>
> >>> - brett
> >
> > 5) the continuum tearDown should not swallow exceptions (retthrow
> > them, but that means changing the abstract selenium test case to
> > throw it too)
> >
>
7.) Switch to Tomcat 5.5.17 to support the email validations ( a bug
in 5.5.20 prohibits that ).
Re: selenium tests
Posted by Brett Porter <br...@apache.org>.
6) we should use dbunit or something similar to set the database up
into a consistent state for the respective tests, and tear it down
again. Running through the web interface in tearDown is time
consuming, and error prone (if you add a new test that doesn't tear
itself down, then a different test fails).
On 27/12/2006, at 3:57 PM, Brett Porter wrote:
> see below
>
> On 27/12/2006, at 3:09 PM, Brett Porter wrote:
>
>>
>> On 27/12/2006, at 2:08 PM, Brett Porter wrote:
>>
>>> Hi,
>>>
>>> A few observations on these. Does anyone else have outstanding
>>> "todos" in this area? Would like to gatehr them up and get them
>>> resolved to make them useful.
>>>
>>> 1) these need to be run regularly to be really useful. They
>>> aren't part of the main build ( a good idea, since it requires a
>>> UI and takes forever). Is there a way to run them in rhino so we
>>> can run them as part of the main build and then turn on the other
>>> profiles when we have mutliple platforms to test on?
>>>
>>> 2) they currently all fail - Franz says it's due to UI changes we
>>> haven't caught up to. See #1 :) Are the UI changes abstracted
>>> sufficiently that this will be a quick fix, or is it going to a
>>> be a big search and replace job? They fail due to "user
>>> authenticated" assertions failing.
>>
>> Fixed the fundamental problem, now it's just UI changes.
>>
>> Down to 14 :)
>
> Down to 5 (AccountSecurityTest, ProjectGroupTest). I'll look later.
>
>>
>>>
>>> 3) Is there a way to get it to stop after a certain number of
>>> failures? 39 open firefox browser instances caused my mac to
>>> kernel panic.
>>>
>>> 4) I underestand that the plexus-security related tests are
>>> shared across both webapps. Should we put some helper code into
>>> plexus-security that can be used by these tests so that changes
>>> there can be addressed there (preferably using the example webapp)?
>>>
>>> I think this is the list of things to get done - I can put them
>>> in JIRA if there isn't anything extra or anything I've missed in
>>> the list.
>>>
>>> - brett
>
> 5) the continuum tearDown should not swallow exceptions (retthrow
> them, but that means changing the abstract selenium test case to
> throw it too)
>
Re: selenium tests
Posted by Brett Porter <br...@apache.org>.
see below
On 27/12/2006, at 3:09 PM, Brett Porter wrote:
>
> On 27/12/2006, at 2:08 PM, Brett Porter wrote:
>
>> Hi,
>>
>> A few observations on these. Does anyone else have outstanding
>> "todos" in this area? Would like to gatehr them up and get them
>> resolved to make them useful.
>>
>> 1) these need to be run regularly to be really useful. They aren't
>> part of the main build ( a good idea, since it requires a UI and
>> takes forever). Is there a way to run them in rhino so we can run
>> them as part of the main build and then turn on the other profiles
>> when we have mutliple platforms to test on?
>>
>> 2) they currently all fail - Franz says it's due to UI changes we
>> haven't caught up to. See #1 :) Are the UI changes abstracted
>> sufficiently that this will be a quick fix, or is it going to a be
>> a big search and replace job? They fail due to "user
>> authenticated" assertions failing.
>
> Fixed the fundamental problem, now it's just UI changes.
>
> Down to 14 :)
Down to 5 (AccountSecurityTest, ProjectGroupTest). I'll look later.
>
>>
>> 3) Is there a way to get it to stop after a certain number of
>> failures? 39 open firefox browser instances caused my mac to
>> kernel panic.
>>
>> 4) I underestand that the plexus-security related tests are shared
>> across both webapps. Should we put some helper code into plexus-
>> security that can be used by these tests so that changes there can
>> be addressed there (preferably using the example webapp)?
>>
>> I think this is the list of things to get done - I can put them in
>> JIRA if there isn't anything extra or anything I've missed in the
>> list.
>>
>> - brett
5) the continuum tearDown should not swallow exceptions (retthrow
them, but that means changing the abstract selenium test case to
throw it too)
Re: selenium tests
Posted by Brett Porter <br...@apache.org>.
On 27/12/2006, at 2:08 PM, Brett Porter wrote:
> Hi,
>
> A few observations on these. Does anyone else have outstanding
> "todos" in this area? Would like to gatehr them up and get them
> resolved to make them useful.
>
> 1) these need to be run regularly to be really useful. They aren't
> part of the main build ( a good idea, since it requires a UI and
> takes forever). Is there a way to run them in rhino so we can run
> them as part of the main build and then turn on the other profiles
> when we have mutliple platforms to test on?
>
> 2) they currently all fail - Franz says it's due to UI changes we
> haven't caught up to. See #1 :) Are the UI changes abstracted
> sufficiently that this will be a quick fix, or is it going to a be
> a big search and replace job? They fail due to "user authenticated"
> assertions failing.
Fixed the fundamental problem, now it's just UI changes.
Down to 14 :)
>
> 3) Is there a way to get it to stop after a certain number of
> failures? 39 open firefox browser instances caused my mac to kernel
> panic.
>
> 4) I underestand that the plexus-security related tests are shared
> across both webapps. Should we put some helper code into plexus-
> security that can be used by these tests so that changes there can
> be addressed there (preferably using the example webapp)?
>
> I think this is the list of things to get done - I can put them in
> JIRA if there isn't anything extra or anything I've missed in the
> list.
>
> - brett