You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Massimo Lusetti <ml...@gmail.com> on 2010/02/23 23:34:15 UTC

Firefox hangs on SeleniumTestLauncher/SeleniumTestCase

If i try to run T5 test suite it hangs indefinitely and without any errors on:

chrome://src/content/RemoteRunner.html?sessionId=b82c62da9331491ca65245a0b58e567c&multiWindow=true&baseUrl=http%3A%2F%2Flocalhost%3A9090%2F&debugMode=false&driverUrl=http://localhost:4444/selenium-server/driver/

which is the first firefox window opening for the first integration test.

The same happens in other tests as soon as i upgraded them to the new
Tapestry test architecture (from AbstractIntegrationTestSuite to
SeleniumTestLauncher/SeleniumTestCase).

Rverting back to the previous test environment, using
AbstractIntegrationTestSuite, makes firefox happy again.

Does any other see the same behavior?
-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: Firefox hangs on SeleniumTestLauncher/SeleniumTestCase

Posted by Massimo Lusetti <ml...@gmail.com>.
On Wed, Feb 24, 2010 at 9:21 AM, Massimo Lusetti <ml...@gmail.com> wrote:

> On Wed, Feb 24, 2010 at 8:10 AM, Igor Drobiazko
> <ig...@gmail.com> wrote:
>
>> Two years ago skype was preventig Selenium to start on a Windows machine.
>> Unistall of skype fixed the problem. I don't know if the problem still
>> exists.
>
> I'm on Linux and don't have skype installed.
>
> I was running tests fine till "some time ago" let's say, two/three weeks.
>

Cool this morning tests are running again... so I'm very very puzzled.
I didn't make any update nor upgrade to any packages/application
installed so I really don't know what to think... And it scares me
quite a bit.

Cheers
-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: Firefox hangs on SeleniumTestLauncher/SeleniumTestCase

Posted by Massimo Lusetti <ml...@gmail.com>.
On Wed, Feb 24, 2010 at 8:10 AM, Igor Drobiazko
<ig...@gmail.com> wrote:

> Two years ago skype was preventig Selenium to start on a Windows machine.
> Unistall of skype fixed the problem. I don't know if the problem still
> exists.

I'm on Linux and don't have skype installed.

I was running tests fine till "some time ago" let's say, two/three weeks.

Cheers
-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: Firefox hangs on SeleniumTestLauncher/SeleniumTestCase

Posted by Igor Drobiazko <ig...@gmail.com>.
Two years ago skype was preventig Selenium to start on a Windows machine.
Unistall of skype fixed the problem. I don't know if the problem still
exists.

On Wed, Feb 24, 2010 at 1:19 AM, Massimo Lusetti <ml...@gmail.com> wrote:

> On Wed, Feb 24, 2010 at 1:00 AM, Andreas Andreou <an...@di.uoa.gr>
> wrote:
>
> > I took a look at http://hudson.zones.apache.org/ and they run fine
> there.
> >
> > On the other hand i just noticed one failing test at
> >
> http://hudson.zones.apache.org/hudson/job/tapestry-5.2-freestyle/22/console
>
> Well indeed this as something to do with my local machine as the tests
> never starts, the environment (the test suite) fail to properly launch
> firefox.
> And every tests I've upgraded to use the latest-and-greatest from
> tapestry-test fails the same way.
>
> I'm stuck at this point and trying to figure out what's going on
> between firefox instance and Selenium... any hints will be
> appreciated.
>
> Cheers
> --
> Massimo
> http://meridio.blogspot.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>


-- 
Best regards,

Igor Drobiazko
http://tapestry5.de/blog

Re: Firefox hangs on SeleniumTestLauncher/SeleniumTestCase

Posted by Massimo Lusetti <ml...@gmail.com>.
On Wed, Feb 24, 2010 at 1:00 AM, Andreas Andreou <an...@di.uoa.gr> wrote:

> I took a look at http://hudson.zones.apache.org/ and they run fine there.
>
> On the other hand i just noticed one failing test at
> http://hudson.zones.apache.org/hudson/job/tapestry-5.2-freestyle/22/console

Well indeed this as something to do with my local machine as the tests
never starts, the environment (the test suite) fail to properly launch
firefox.
And every tests I've upgraded to use the latest-and-greatest from
tapestry-test fails the same way.

I'm stuck at this point and trying to figure out what's going on
between firefox instance and Selenium... any hints will be
appreciated.

Cheers
-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: Firefox hangs on SeleniumTestLauncher/SeleniumTestCase

Posted by Andreas Andreou <an...@di.uoa.gr>.
I took a look at http://hudson.zones.apache.org/ and they run fine there.

On the other hand i just noticed one failing test at
http://hudson.zones.apache.org/hudson/job/tapestry-5.2-freestyle/22/console

Failed tests:
  link_submit_component(org.apache.tapestry5.integration.app1.FormTests)
java.lang.AssertionError: Page did not contain 'You must provide a
value for Name.'.
	at org.apache.tapestry5.test.SeleniumTestCase.assertTextPresent(SeleniumTestCase.java:930)
	at org.apache.tapestry5.integration.app1.FormTests.link_submit_component(FormTests.java:695)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:74)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)


On Wed, Feb 24, 2010 at 00:34, Massimo Lusetti <ml...@gmail.com> wrote:
> If i try to run T5 test suite it hangs indefinitely and without any errors on:
>
> chrome://src/content/RemoteRunner.html?sessionId=b82c62da9331491ca65245a0b58e567c&multiWindow=true&baseUrl=http%3A%2F%2Flocalhost%3A9090%2F&debugMode=false&driverUrl=http://localhost:4444/selenium-server/driver/
>
> which is the first firefox window opening for the first integration test.
>
> The same happens in other tests as soon as i upgraded them to the new
> Tapestry test architecture (from AbstractIntegrationTestSuite to
> SeleniumTestLauncher/SeleniumTestCase).
>
> Rverting back to the previous test environment, using
> AbstractIntegrationTestSuite, makes firefox happy again.
>
> Does any other see the same behavior?
> --
> Massimo
> http://meridio.blogspot.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>



-- 
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org