Improved browser tests.
This commit is contained in:
parent
ac47f84c74
commit
8f668db965
2 changed files with 8 additions and 1 deletions
|
@ -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?'
|
||||
|
|
|
@ -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"]',
|
||||
|
|
Loading…
Reference in a new issue