Improved browser tests.

This commit is contained in:
Martin Edenhofer 2013-06-10 17:18:40 +02:00
parent ac47f84c74
commit 8f668db965
2 changed files with 8 additions and 1 deletions

View file

@ -173,7 +173,6 @@ class Remove extends App.ControllerModal
@render()
render: ->
# return if !window.confirm( App.i18n.translateInline('Tab has changed, you really want to close it?') )
@html App.view('modal')(
title: 'Confirm'
message: 'Tab has changed, you really want to close it?'

View file

@ -11,6 +11,10 @@ class AgentUserManageTest < TestCase
{
:execute => 'close_all_tasks',
},
{
:execute => 'wait',
:value => 1,
},
{
:execute => 'click',
:css => 'a[href="#new"]',
@ -72,6 +76,10 @@ class AgentUserManageTest < TestCase
},
# call new ticket screen again
{
:execute => 'wait',
:value => 1,
},
{
:execute => 'click',
:css => '.taskbar span[data-type="close"]',