Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 12200
Status: rejected
Priority: 0/
Queue: Test-WWW-Mechanize

People
Owner: Nobody in particular
Requestors: mark [...] summersault.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.05_02
Fixed in: (no value)



Subject: page_links_ok() considers a link which requires Auth broken
If page_links_ok() hits a link with requires authentication, it considers it broken and fails the test. I think this is a bug and that it should emit a warning instead, perhaps with the option to supress such warning somewhere. Or more generally, I think both kinds of semantics should be allowed: "Every link on the page is OK". "Every link /I have access to/ on the page is OK." Here's the page I was playing with. It has a password protected resume on it, which is a valid like if you log in. #!/usr/bin/perl use Test::More qw/no_plan/; use Test::WWW::Mechanize; my $a = Test::WWW::Mechanize->new(); $a->get('http://glozer.net/code.html'); $a->page_links_ok();