[Koha-bugs] [Bug 8300] Koha should have mechanized testing suite

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 18 10:50:39 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8300

--- Comment #19 from Magnus Enger <magnus at enger.priv.no> ---
(In reply to comment #14)
> Just looking at the previous comment, I wonder why it should find the title
> Data structures. On Manage staged MARC records, I can see the file name, but
> not this title.
> Please explain. Changing status to reflect need of clarification. 
> Thank you.

I think I found an axplanation for this: After the file is uploaded you get a
list of information as shown in the screenshot I just uploaded. This list has a
link labelled "Manage staged records" which takes you directly to the records
you just uploaded. This is the link the test follows on line 157:

$agent->follow_link_ok( { text => 'Manage staged records' }, 'view batch' );

And this page should display the titles of the uploaded/staged records. From
the test output it looks like your title might have been truncated to
">Englewood Data str"? 

If you want to spend more time on this you might try and put an __END__ below
line 165, like so:

$agent->content_contains( $bookdescription, 'found book' );
__END__
$agent->form_number(5);

This will let you visit "Staged MARC record management" and see what the
results of the staging looks like (before it is removed further down in the
test).

(I just tested the patch on another installation and it still works for me :-)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list