+ sub server_is_running {
+ return IO::Socket::INET->new(PeerAddr => $ENV{SRC_HOST} || $lxtest->{seleniumhost},
+ PeerPort => $ENV{SRC_PORT} || $lxtest->{seleniumport},
+ );
+ }
+ if (server_is_running) {
+ plan tests => 204; # Need to be cutomized
+ }
+ else {
+ plan skip_all => "No selenium server found! "
+ ."Maybe you forgot to start it or "
+ ."the preferences in t/lxtest.conf doesen't fit to your system";
+ exit 0;
+ }
+
+ diag('Pretests and initialisation');
+
+
+