From 13639084d2ee8e7c07a0d0d8eea4b3cfe82351fc Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 19 Jun 2013 23:41:24 +0200 Subject: [PATCH] Improved tests. --- test/browser/manage_test.rb | 38 +++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/test/browser/manage_test.rb b/test/browser/manage_test.rb index 9a3fe9508..1d4ae7584 100644 --- a/test/browser/manage_test.rb +++ b/test/browser/manage_test.rb @@ -67,7 +67,7 @@ class ManageTest < TestCase }, { :execute => 'click', - :css => 'button.submit', + :css => '.modal button.submit', }, { :execute => 'wait', @@ -94,7 +94,7 @@ class ManageTest < TestCase }, { :execute => 'click', - :css => 'button.submit', + :css => '.modal button.submit', }, { :execute => 'wait', @@ -147,7 +147,7 @@ class ManageTest < TestCase }, { :execute => 'click', - :css => 'button.submit', + :css => '.modal button.submit', }, { :execute => 'wait', @@ -179,7 +179,7 @@ class ManageTest < TestCase }, { :execute => 'click', - :css => 'button.submit', + :css => '.modal button.submit', }, { :execute => 'wait', @@ -239,6 +239,36 @@ class ManageTest < TestCase :value => 'some sla update ' + random, :match_result => false, }, + { + :execute => 'reload', + }, + { + :execute => 'wait', + :value => 2, + }, + { + :execute => 'click', + :css => 'a[href="#/"]', + }, + { + :execute => 'click', + :css => 'a[href="#admin"]', + }, + { + :execute => 'click', + :css => 'a[href="#slas"]', + }, + { + :execute => 'wait', + :value => 2, + }, + { + :execute => 'match', + :css => 'body', + :value => 'some sla update ' + random, + :match_result => false, + }, + ], },