Koha/t/lib
Jonathan Druart 53956232f9 Bug 29565: Prevent regressions.t to fail on slow boxes
It's failing randomly on some Jenkins' nodes

 #   Failed test 'Encoding in session variables'
 #   at t/db_dependent/selenium/regressions.t line 300.
 Can't call method "get_text" on an undefined value at t/db_dependent/selenium/regressions.t line 285.

It can be recreated locally with the following changes:
@ t/lib/Selenium.pm:50 @ sub new {
     );
     bless $self, $class;
     $self->add_error_handler;
-    $self->driver->set_implicit_wait_timeout(5000);
+    $self->driver->set_implicit_wait_timeout(1000);
     return $self;
 }

@ t/lib/Selenium.pm:50 @ sub new {
     );
     bless $self, $class;
     $self->add_error_handler;
-    $self->driver->set_implicit_wait_timeout(5000);
+    $self->driver->set_implicit_wait_timeout(1000);
     return $self;
 }

This patch suggests to simply double the timeout.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-24 09:38:13 +01:00
..
bad_plugins/Koha/Plugin Bug 29273: Remove warnings from plugin tests 2021-11-15 12:38:39 +01:00
Koha/BackgroundJob Bug 29273: Remove warnings from plugin tests 2021-11-15 12:38:39 +01:00
Mocks Bug 29368: Correctly mock Zebra index from tests 2021-10-29 15:45:53 +02:00
plugins/Koha/Plugin Bug 29273: Remove warnings from plugin tests 2021-11-15 12:38:39 +01:00
QA Bug 29350: Don't need to escape the 'delete' TT methods 2021-11-02 15:58:08 +01:00
Bootstrap.pm Bug 19821: Require database_test != database 2021-10-25 11:27:40 +02:00
Dates.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Mocks.pm Bug 17600: Remove wrong C4::Context imports 2021-09-20 14:44:27 +02:00
Selenium.pm Bug 29565: Prevent regressions.t to fail on slow boxes 2021-11-24 09:38:13 +01:00
TestBuilder.pm Bug 17314: Make TestBuilder set good defaults for Suggestions 2021-10-28 17:32:34 +02:00