Bug 34837 - selenium/self_registration.t is failing randomly
Summary: selenium/self_registration.t is failing randomly
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal (vote)
Assignee: Chris Cormack
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 25551
  Show dependency treegraph
 
Reported: 2023-09-20 08:02 UTC by Jonathan Druart
Modified: 2023-09-20 08:02 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2023-09-20 08:02:47 UTC
Koha_Master/2659 on Docker_8

koha_1       |     #   Failed test at t/db_dependent/selenium/self_registration.t line 54.
koha_1       |     #                   'Koha online catalog'
koha_1       |     #     doesn't match '(?^u:Register a new account)'
koha_1       | 
koha_1       | STRACE:	/usr/share/perl5/Try/Tiny.pm:123 in Selenium::Remote::Driver::catch {...} 
koha_1       | 	/usr/share/perl5/Selenium/Remote/Driver.pm:361 in Try::Tiny::try
koha_1       | 	(eval 575):1 in Selenium::Remote::Driver::__ANON__
koha_1       | 	(eval 577):2 in Selenium::Remote::Driver::__ANON__
koha_1       | 	/usr/share/perl5/Selenium/Remote/Driver.pm:1340 in Selenium::Remote::Driver::_execute_command
koha_1       | 	/usr/share/perl5/Selenium/Remote/Driver.pm:1340 in (eval)
koha_1       | 	t/db_dependent/selenium/self_registration.t:56 in Selenium::Remote::Driver::find_element
koha_1       | 	/usr/share/perl/5.32/Test/Builder.pm:334 in main::__ANON__
koha_1       | 	/usr/share/perl/5.32/Test/Builder.pm:334 in (eval)
koha_1       | 	/usr/share/perl/5.32/Test/More.pm:809 in Test::Builder::subtest
koha_1       | 	t/db_dependent/selenium/self_registration.t:67 in Test::More::subtest
koha_1       | 
selenium_1   | 1695158902870	Marionette	INFO	Stopped listening on port 42919
selenium_1   | JavaScript error: resource:///modules/Interactions.jsm, line 230: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIUserIdleService.removeIdleObserver]
selenium_1   | 21:28:23.256 INFO [ActiveSessions$1.onStop] - Removing session ea9fbbf4-d9b5-4eb2-b756-9fff41de8ab5 (org.openqa.selenium.firefox.GeckoDriverService)
koha_1       |     # Looks like you planned 2 tests but ran 1.
koha_1       |     # Looks like you failed 1 test of 1 run.
koha_1       | 
koha_1       | #   Failed test 'Set flags'
koha_1       | #   at t/db_dependent/selenium/self_registration.t line 67.
koha_1       | Error while executing command: no such element: Unable to locate element: //*[@id="borrower_surname"] at /usr/share/perl5/Selenium/Remote/Driver.pm line 411.
koha_1       |  at /usr/share/perl5/Selenium/Remote/Driver.pm line 356.
koha_1       | # Looks like your test exited with 11 just after 1.
koha_1       | [21:28:23] t/db_dependent/selenium/self_registration.t