https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18974
David Nind <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA CC| |[email protected] --- Comment #28 from David Nind <[email protected]> --- Rather than go through the setup process detailed in the patches, with KTD you can start koha-testing-docker with: ktd --selenium up I think that should take care of all the setup requirements, but I could be wrong. Hopefully ktd --selenium up should take care of the requirements now. This worked with bug 30645 Revised test plan: 1. Start up koha-testing-docker (KTD) with selenium: ktd --selenium up 2. Apply the patch. 3. Run the tests: prove t/db_dependent/selenium/cataloging_workflow.t 4. The tests should pass! Unsurprisingly (since this one has been around for a while), the new test fails for me: prove t/db_dependent/selenium/cataloging_workflow.t t/db_dependent/selenium/cataloging_workflow.t .. 1/1 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 1729):1 in Selenium::Remote::Driver::__ANON__ (eval 1731):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) /kohadevbox/koha/t/lib/Selenium.pm:174 in Selenium::Remote::Driver::find_element t/db_dependent/selenium/cataloging_workflow.t:62 in t::lib::Selenium::click Error while executing command: no such element: Unable to locate element: //div[@id="container-main"]//a[contains(@href, "/cataloguing/addbooks.pl")] 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/cataloging_workflow.t .. Dubious, test returned 255 (wstat 65280, 0xff00) All 1 subtests passed Test Summary Report ------------------- t/db_dependent/selenium/cataloging_workflow.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Files=1, Tests=1, 13 wallclock secs ( 0.01 usr 0.00 sys + 0.66 cusr 0.10 csys = 0.77 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/
