diff --git a/test/browser/text_module_test.rb b/test/browser/text_module_test.rb index 94264c9c9..2e62bd39e 100644 --- a/test/browser/text_module_test.rb +++ b/test/browser/text_module_test.rb @@ -263,7 +263,7 @@ class TextModuleTest < TestCase :action => [ { :execute => 'wait', - :value => 3, + :value => 4, }, { :where => :instance2, @@ -388,6 +388,16 @@ class TextModuleTest < TestCase :execute => 'wait', :value => 4, }, + { + :where => :instance2, + :execute => 'set', + :css => '.active textarea[name=body]', + :value => 'test', + }, + { + :execute => 'wait', + :value => 4, + }, { :where => :instance2, :execute => 'set', @@ -418,7 +428,7 @@ class TextModuleTest < TestCase :where => :instance2, :execute => 'match', :css => '.active textarea[name=body]', - :value => 'some content' + random, + :value => 'some content Braun' + random, :match_result => true, }, ], diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index 69ddec753..903ae87cb 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -247,7 +247,7 @@ puts "NOTICE #{Time.now.to_s}: " + action.inspect sleep 4 element = instance.find_element( { :css => '.active .ticket_create input[name="customer_id_autocompletion"]' } ) element.clear - element.send_keys( 'ma' ) + element.send_keys( 'nico' ) sleep 4 element = instance.find_element( { :css => '.active .ticket_create input[name="customer_id_autocompletion"]' } ) element.send_keys( :arrow_down )