Added initial otrs browser import test.
This commit is contained in:
parent
63fbc51fb6
commit
6bb8c7b6eb
1 changed files with 27 additions and 0 deletions
27
test/integration/otrs_import_browser_test.rb
Normal file
27
test/integration/otrs_import_browser_test.rb
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
require 'browser_test_helper'
|
||||||
|
|
||||||
|
class OtrsImportBrowserTest < TestCase
|
||||||
|
def test_import
|
||||||
|
@browser = browser_instance
|
||||||
|
location(url: browser_url)
|
||||||
|
|
||||||
|
watch_for(
|
||||||
|
css: 'body',
|
||||||
|
value: 'xxxx',
|
||||||
|
timeout: 10,
|
||||||
|
)
|
||||||
|
|
||||||
|
# click import
|
||||||
|
|
||||||
|
# click otrs
|
||||||
|
|
||||||
|
# enter otrs url + key
|
||||||
|
|
||||||
|
# watch for import start
|
||||||
|
|
||||||
|
# watch for import end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
Loading…
Reference in a new issue