Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^5: Chrome freezes on windows when opened with WWW::Mechanize::Chrome

by Bod (Parson)
on Oct 19, 2021 at 23:43 UTC ( [id://11137762]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Chrome freezes on windows when opened with WWW::Mechanize::Chrome
in thread Chrome freezes on windows when opened with WWW::Mechanize::Chrome

can you please run the hanging test in isolation and with verbose output

Certainly - I've run this on two separate machines and I get the same result...
It hangs at the end of the output and doesn't return to a command promt.

UPDATE: Something in the output is screwing up the rendering. It was OK in preview mode but doesn't display properly...
So - Find It Here

Hope this is helpful.

  • Comment on Re^5: Chrome freezes on windows when opened with WWW::Mechanize::Chrome

Replies are listed 'Best First'.
Re^6: Chrome freezes on windows when opened with WWW::Mechanize::Chrome
by Corion (Patriarch) on Oct 20, 2021 at 17:06 UTC

    Thanks for posting the log!

    Looking at it, there is some redirect loop going on that I don't hit when I'm testing - that's one of the drawbacks of running tests against external servers...

    I don't see a good/quick fix, but as the test suite progresses somewhat, it seems sane to force-install the module, skipping the test suite.

    I'll look at rewriting the test using only local resources so it doesn't trip with the next (regional) behaviour change.

      Thanks for posting the log!

      No problem at all...thanks for creating what looks like an extremely useful module!

      that's one of the drawbacks of running tests against external servers...

      Yes - when I wrote the tests for Business::Stripe::WebCheckout, I tried to get it to connect to my server during testing with dummy public and private keys. Although the test server gave the right response to a browser, it always failed when the Perl tests tried to access it. The required code for testing mode is still in the module...

      choroba helpfully shared a blog over on Re^5: [RFC] Module code and POD for CPAN - Testing and test file

      That blog is a bit beyond me at present so I had planned to go back and revisit Business::Stripe::WebCheckout. I have not done that yet and really should.

      Perhaps there is a need for a module to help with testing modules that need to connect to external services?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11137762]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (8)
As of 2024-04-18 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found