Improved code layout.
This commit is contained in:
parent
f78b32639f
commit
e9da83bf4d
2 changed files with 9 additions and 9 deletions
|
@ -28,24 +28,24 @@ class AgentTicketOverviewLevel1Test < TestCase
|
|||
overview_create(
|
||||
browser: browser1,
|
||||
data: {
|
||||
:name => name1,
|
||||
:role => 'Agent',
|
||||
:selector => {
|
||||
name: name1,
|
||||
role: 'Agent',
|
||||
selector: {
|
||||
'Priority' => '1 low',
|
||||
},
|
||||
:prio => 1000,
|
||||
prio: 1000,
|
||||
'order::direction' => 'down',
|
||||
}
|
||||
)
|
||||
overview_create(
|
||||
browser: browser1,
|
||||
data: {
|
||||
:name => name2,
|
||||
:role => 'Agent',
|
||||
:selector => {
|
||||
name: name2,
|
||||
role: 'Agent',
|
||||
selector: {
|
||||
'Priority' => '3 high',
|
||||
},
|
||||
:prio => 1001,
|
||||
prio: 1001,
|
||||
'order::direction' => 'down',
|
||||
}
|
||||
)
|
||||
|
|
|
@ -138,7 +138,7 @@ class TestCase < Test::Unit::TestCase
|
|||
end
|
||||
instance.find_elements( { css: '#login button' } )[0].click
|
||||
|
||||
sleep 4
|
||||
sleep 5
|
||||
login = instance.find_elements( { css: '.user-menu .user a' } )[0].attribute('title')
|
||||
if login != params[:username]
|
||||
screenshot( browser: instance, comment: 'login_failed' )
|
||||
|
|
Loading…
Reference in a new issue