Fixed browser test.
This commit is contained in:
parent
73fdb77178
commit
893272e886
2 changed files with 11 additions and 8 deletions
|
@ -118,10 +118,14 @@ class AgentTicketActionLevel0Test < TestCase
|
|||
)
|
||||
|
||||
# check if text module exists in instance2, for ready to use
|
||||
click(
|
||||
browser: browser2,
|
||||
css: '#global-search',
|
||||
)
|
||||
set(
|
||||
browser: browser2,
|
||||
css: '.active div[data-name=body]',
|
||||
value: 'test ::' + random
|
||||
value: 'test ::' + random,
|
||||
)
|
||||
watch_for(
|
||||
browser: browser2,
|
||||
|
|
|
@ -1660,11 +1660,11 @@ wait untill text in selector disabppears
|
|||
user_create(
|
||||
:browser => browser2,
|
||||
:data => {
|
||||
#:login => 'some login' + random,
|
||||
:firstname => 'Manage Firstname' + random,
|
||||
:lastname => 'Manage Lastname' + random,
|
||||
:email => user_email,
|
||||
:password => 'some-pass',
|
||||
#login: 'some login' + random,
|
||||
firstname: 'Manage Firstname' + random,
|
||||
lastname: 'Manage Lastname' + random,
|
||||
email: user_email,
|
||||
password: 'some-pass',
|
||||
},
|
||||
)
|
||||
|
||||
|
@ -1699,8 +1699,7 @@ wait untill text in selector disabppears
|
|||
element.send_keys( data[:password] )
|
||||
instance.find_elements( { css: '.modal input[name="role_ids"][value="3"]' } )[0].click
|
||||
instance.find_elements( { css: '.modal button.js-submit' } )[0].click
|
||||
|
||||
sleep 2
|
||||
sleep 3.5
|
||||
set(
|
||||
browser: instance,
|
||||
css: '.content .js-search',
|
||||
|
|
Loading…
Reference in a new issue