https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30699

Katrin Fischer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |additional_work_needed

--- Comment #10 from Katrin Fischer <[email protected]> ---
This change broke the selenium tests, but I am not sure if we should fix the
template or the tests:


                        <li data-bs-toggle="tooltip" data-bs-placement="left"
title="Patron is an adult">
                            <a class="dropdown-item disabled"
aria-disabled="true" id="updatechild" href="#">Update child to adult patron</a>
                            <button class="dropdown-item disabled"
aria-disabled="true" id="updatechild">Update child to adult patron</button>



prove t/db_dependent/selenium/update_child_to_adult.t 
t/db_dependent/selenium/update_child_to_adult.t .. 
STRACE: /usr/share/perl5/Try/Tiny.pm:123 in Selenium::Remote::Driver::catch
{...} 
        /usr/share/perl5/Selenium/Remote/Driver.pm:361 in Try::Tiny::try
        (eval 2011):1 in Selenium::Remote::Driver::__ANON__
        (eval 2013):2 in Selenium::Remote::Driver::__ANON__
        /usr/share/perl5/Selenium/Remote/Driver.pm:1340 in
Selenium::Remote::Driver::_execute_command
        /usr/share/perl5/Selenium/Remote/Driver.pm:1340 in (eval)
        t/db_dependent/selenium/update_child_to_adult.t:141 in
Selenium::Remote::Driver::find_element
        /usr/share/perl/5.36/Test/Builder.pm:374 in main::__ANON__
        /usr/share/perl/5.36/Test/Builder.pm:374 in (eval)
        /usr/share/perl/5.36/Test/More.pm:809 in Test::Builder::subtest
        t/db_dependent/selenium/update_child_to_adult.t:145 in
Test::More::subtest
        /usr/share/perl/5.36/Test/Builder.pm:374 in main::__ANON__
        /usr/share/perl/5.36/Test/Builder.pm:374 in (eval)
        /usr/share/perl/5.36/Test/More.pm:809 in Test::Builder::subtest
        t/db_dependent/selenium/update_child_to_adult.t:153 in
Test::More::subtest

        # No tests run!

    #   Failed test 'No tests run for subtest "Cannot update an adult"'
    #   at t/db_dependent/selenium/update_child_to_adult.t line 145.
    # Looks like you failed 1 test of 3.
t/db_dependent/selenium/update_child_to_adult.t .. 1/1 
#   Failed test 'Update child to patron'
#   at t/db_dependent/selenium/update_child_to_adult.t line 153.
Error while executing command: no such element: Unable to locate element:
//a[@id="updatechild"]/.. at /usr/share/perl5/Selenium/Remote/Driver.pm line
411.
 at /usr/share/perl5/Selenium/Remote/Driver.pm line 356.
# Looks like your test exited with 255 just after 1.
t/db_dependent/selenium/update_child_to_adult.t .. Dubious, test returned 255
(wstat 65280, 0xff00)
Failed 1/1 subtests 

Test Summary Report
-------------------
t/db_dependent/selenium/update_child_to_adult.t (Wstat: 65280 (exited 255)
Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
Files=1, Tests=1, 28 wallclock secs ( 0.02 usr  0.00 sys +  1.72 cusr  0.21
csys =  1.95 CPU)
Result: FAIL

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to