From ac17c5421d0a48ff70ed25d70ebd165665233060 Mon Sep 17 00:00:00 2001 From: Gerhard Jungwirth Date: Fri, 13 Dec 2013 14:23:54 +0100 Subject: [PATCH] MT#4871 Change screenres of selenium-tests to 1024x768 which complies with our video output --- t/controller_billing_selenium.t | 2 +- t/controller_customer_selenium.t | 2 +- t/controller_domain_selenium.t | 2 +- t/controller_peering_selenium.t | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/t/controller_billing_selenium.t b/t/controller_billing_selenium.t index d94696f73e..e3517fb511 100644 --- a/t/controller_billing_selenium.t +++ b/t/controller_billing_selenium.t @@ -6,7 +6,7 @@ use Test::WebDriver::Sipwise qw(); my $browsername = $ENV{BROWSER_NAME} || ""; #possible values: htmlunit, chrome my $d = Test::WebDriver::Sipwise->new (browser_name => $browsername, 'proxy' => {'proxyType' => 'system'}); -$d->set_window_size(800,1280) if ($browsername ne "htmlunit"); +$d->set_window_size(768,1024) if ($browsername ne "htmlunit"); my $uri = $ENV{CATALYST_SERVER} || 'http://localhost:3000'; $d->get_ok("$uri/logout"); #make sure we are logged out $d->get_ok("$uri/login"); diff --git a/t/controller_customer_selenium.t b/t/controller_customer_selenium.t index 0aa3612d6b..6ed2f264c0 100644 --- a/t/controller_customer_selenium.t +++ b/t/controller_customer_selenium.t @@ -6,7 +6,7 @@ use Test::WebDriver::Sipwise qw(); my $browsername = $ENV{BROWSER_NAME} || ""; #possible values: htmlunit, chrome my $d = Test::WebDriver::Sipwise->new (browser_name => $browsername, 'proxy' => {'proxyType' => 'system'}); -$d->set_window_size(800,1280) if ($browsername ne "htmlunit"); +$d->set_window_size(768,1024) if ($browsername ne "htmlunit"); my $uri = $ENV{CATALYST_SERVER} || 'http://localhost:3000'; $d->get_ok("$uri/logout"); #make sure we are logged out $d->get_ok("$uri/login"); diff --git a/t/controller_domain_selenium.t b/t/controller_domain_selenium.t index 4aeae51df9..a833dbf499 100644 --- a/t/controller_domain_selenium.t +++ b/t/controller_domain_selenium.t @@ -6,7 +6,7 @@ use Test::WebDriver::Sipwise qw(); my $browsername = $ENV{BROWSER_NAME} || ""; #possible values: htmlunit, chrome my $d = Test::WebDriver::Sipwise->new (browser_name => $browsername, 'proxy' => {'proxyType' => 'system'}); -$d->set_window_size(800,1280) if ($browsername ne "htmlunit"); +$d->set_window_size(768,1024) if ($browsername ne "htmlunit"); my $uri = $ENV{CATALYST_SERVER} || 'http://localhost:3000'; $d->get_ok("$uri/logout"); #make sure we are logged out $d->get_ok("$uri/login"); diff --git a/t/controller_peering_selenium.t b/t/controller_peering_selenium.t index dce91cf012..1fc025b241 100644 --- a/t/controller_peering_selenium.t +++ b/t/controller_peering_selenium.t @@ -6,7 +6,7 @@ use Test::WebDriver::Sipwise qw(); my $browsername = $ENV{BROWSER_NAME} || ""; #possible values: htmlunit, chrome my $d = Test::WebDriver::Sipwise->new (browser_name => $browsername, 'proxy' => {'proxyType' => 'system'}); -$d->set_window_size(800,1280) if ($browsername ne "htmlunit"); +$d->set_window_size(768,1024) if ($browsername ne "htmlunit"); my $uri = $ENV{CATALYST_SERVER} || 'http://localhost:3000'; $d->get_ok("$uri/logout"); #make sure we are logged out $d->get_ok("$uri/login");