[Koha-bugs] [Bug 8300] Koha should have mechanized testing suite
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 14 08:57:41 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8300
Magnus Enger <magnus at enger.priv.no> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Failed QA
CC| |magnus at enger.priv.no
--- Comment #5 from Magnus Enger <magnus at enger.priv.no> ---
After applying the patch I get this:
$ prove -v t/db_dependent/www/batch.t
t/db_dependent/www/batch.t ..
1..20
ok 1 - connect to intranet
ok 2 - login to staff client
ok 3 - load main page
Link not found at t/db_dependent/www/batch.t line 63.
# Looks like you planned 20 tests but ran 3.
# Looks like your test exited with 255 just after 3.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 17/20 subtests
Test Summary Report
-------------------
t/db_dependent/www/batch.t (Wstat: 65280 Tests: 3 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 20 tests but ran 3.
Files=1, Tests=3, 4 wallclock secs ( 0.04 usr 0.00 sys + 0.38 cusr 0.04
csys = 0.46 CPU)
Result: FAIL
I think the problem is that after the new look of the staff client was
introduced, the link to tools no longer contains the text "Tools". Changing
line 63 of t/db_dependent/www/batch.t to this:
$agent->follow_link_ok( { url_regex => qr/tools-home/i }, 'open tools module'
);
makes the test succeed.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list