Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Revision history for Test::WWW::WebKit2

0.113 Wed Feb 09 14:30:00 CET 2022

Get rid of uninitialized warnings in value_is

0.112 Fri Feb 04 12:00:00 CET 2022

Remove default timeout for click_ok, we want no timeout here unless explicitely requested
Expand Down
3 changes: 2 additions & 1 deletion lib/Test/WWW/WebKit2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ has 'debug' => (
default => 0,
);

our $VERSION = '0.112';
our $VERSION = '0.113';

sub shout {
my ($self, $error) = @_;
Expand Down Expand Up @@ -325,6 +325,7 @@ sub body_text_like {

sub value_is {
my ($self, $locator, $value, $description) = @_;
$description //= '';
local $Test::Builder::Level = $Test::Builder::Level + 1;

is(eval { $self->get_value($locator) }, $value, "value_is($locator, $value, $description)")
Expand Down