blib/lib/Test/Mojo/Role/SubmitForm.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 14 | 85.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
56 | 2 | 1 | 12 | defined $el->{'action'} && $el->{'action'} ne '' |
line | l | !l | condition |
---|---|---|---|
11 | 1 | 15 | $extra_params ||= {} |
20 | 7 | 0 | $el->{'type'} // '' |
56 | 8 | 7 | $el->{'method'} || 'GET' |
90 | 25 | 48 | $#$_ or $_ = $_->[0] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
13 | 13 | 1 | 0 | $self->tx->res->dom->at($selector_or_dom) || croak('Test::Mojo::Role::SubmitForm::click_ok()' . " Did not find element matching selector $selector_or_dom") |