Integration test for auto wizard.
This commit is contained in:
parent
68ea235192
commit
d92992c670
1 changed files with 26 additions and 0 deletions
26
test/integration/auto_wizard_test.rb
Normal file
26
test/integration/auto_wizard_test.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue