From d92992c670a5a332794daee7a1c23d3a2f269e52 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 9 Apr 2015 01:39:27 +0200 Subject: [PATCH] Integration test for auto wizard. --- test/integration/auto_wizard_test.rb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 test/integration/auto_wizard_test.rb diff --git a/test/integration/auto_wizard_test.rb b/test/integration/auto_wizard_test.rb new file mode 100644 index 000000000..2162565ca --- /dev/null +++ b/test/integration/auto_wizard_test.rb @@ -0,0 +1,26 @@ +# encoding: utf-8 +require 'browser_test_helper' + +class AutoWizardTest < TestCase + def test_auto_wizard + @browser = browser_instance + location( :url => browser_url ) + + watch_for( + :css => 'body', + :value => 'Invite', + :timeout => 10, + ) + + click( :css => '.content .btn--primary' ) + + watch_for( + :css => '.user-menu .user a', + :attribute => 'title', + :value => 'hans.atila@zammad.org', + :timeout => 20, + ) + + end + +end \ No newline at end of file