vncserver is a wrapper script for starting xnvc; use that. Add test exercising
[scpubgit/Test-Harness-Selenium.git] / t / vnc.t
diff --git a/t/vnc.t b/t/vnc.t
new file mode 100644 (file)
index 0000000..c333286
--- /dev/null
+++ b/t/vnc.t
@@ -0,0 +1,17 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
+
+use lib 'lib';
+use Test::Harness::Selenium;
+use Test::More;
+
+my $s = Test::Harness::Selenium->new({
+    host => 'localhost',
+    port => $< + 60_000,
+    browser_url => 'http://www.google.com',
+    browser => shift,
+    xvnc => ':0',
+});
+$s->test_directory(shift);
+done_testing;