Fixed arrow down selector.
This commit is contained in:
parent
b02d9f5302
commit
169fe22fdf
5 changed files with 8 additions and 8 deletions
|
@ -38,7 +38,7 @@ class AgentOrganizationProfileTest < TestCase
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
# check and change note again in edit screen
|
# check and change note again in edit screen
|
||||||
click( css: '.active .js-action .select-arrow', fast: true )
|
click( css: '.active .js-action .icon-arrow-down', fast: true )
|
||||||
click( css: '.active .js-action a[data-type="edit"]' )
|
click( css: '.active .js-action a[data-type="edit"]' )
|
||||||
|
|
||||||
watch_for(
|
watch_for(
|
||||||
|
|
|
@ -230,7 +230,7 @@ class AgentTicketActionLevel0Test < TestCase
|
||||||
)
|
)
|
||||||
click(
|
click(
|
||||||
browser: browser2,
|
browser: browser2,
|
||||||
css: '.active div[data-tab="ticket"] .js-actions .select-arrow',
|
css: '.active div[data-tab="ticket"] .js-actions .icon-arrow-down',
|
||||||
)
|
)
|
||||||
click(
|
click(
|
||||||
browser: browser2,
|
browser: browser2,
|
||||||
|
|
|
@ -56,7 +56,7 @@ class AgentTicketActionLevel1Test < TestCase
|
||||||
)
|
)
|
||||||
|
|
||||||
# merge tickets
|
# merge tickets
|
||||||
click( css: '.active div[data-tab="ticket"] .js-actions .select-arrow' )
|
click( css: '.active div[data-tab="ticket"] .js-actions .icon-arrow-down' )
|
||||||
click( css: '.active div[data-tab="ticket"] .js-actions a[data-type="ticket-merge"]' )
|
click( css: '.active div[data-tab="ticket"] .js-actions a[data-type="ticket-merge"]' )
|
||||||
watch_for(
|
watch_for(
|
||||||
css: '.modal',
|
css: '.modal',
|
||||||
|
@ -113,7 +113,7 @@ class AgentTicketActionLevel1Test < TestCase
|
||||||
)
|
)
|
||||||
|
|
||||||
# merge tickets
|
# merge tickets
|
||||||
click( css: '.active div[data-tab="ticket"] .js-actions .select-arrow' )
|
click( css: '.active div[data-tab="ticket"] .js-actions .icon-arrow-down' )
|
||||||
click( css: '.active div[data-tab="ticket"] .js-actions a[data-type="ticket-merge"]' )
|
click( css: '.active div[data-tab="ticket"] .js-actions a[data-type="ticket-merge"]' )
|
||||||
watch_for(
|
watch_for(
|
||||||
css: '.modal',
|
css: '.modal',
|
||||||
|
|
|
@ -36,7 +36,7 @@ class AgentUserProfileTest < TestCase
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
# check and change note again in edit screen
|
# check and change note again in edit screen
|
||||||
click( css: '.active .js-action .select-arrow' )
|
click( css: '.active .js-action .icon-arrow-down' )
|
||||||
click( css: '.active .js-action a[data-type="edit"]' )
|
click( css: '.active .js-action a[data-type="edit"]' )
|
||||||
|
|
||||||
watch_for(
|
watch_for(
|
||||||
|
|
|
@ -1053,7 +1053,7 @@ wait untill text in selector disabppears
|
||||||
element.send_keys( :arrow_down )
|
element.send_keys( :arrow_down )
|
||||||
sleep 0.3
|
sleep 0.3
|
||||||
instance.find_elements( { css: '.active .newTicket .recipientList-entry.js-user.is-active' } )[0].click
|
instance.find_elements( { css: '.active .newTicket .recipientList-entry.js-user.is-active' } )[0].click
|
||||||
sleep 0.3
|
sleep 0.6
|
||||||
end
|
end
|
||||||
|
|
||||||
if data[:attachment]
|
if data[:attachment]
|
||||||
|
@ -1068,7 +1068,7 @@ wait untill text in selector disabppears
|
||||||
assert( true, 'ticket created without submit' )
|
assert( true, 'ticket created without submit' )
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
sleep 1.6
|
sleep 0.8
|
||||||
#instance.execute_script( '$(".content.active .newTicket form").submit();' )
|
#instance.execute_script( '$(".content.active .newTicket form").submit();' )
|
||||||
instance.find_elements( { css: '.active .newTicket button.submit' } )[0].click
|
instance.find_elements( { css: '.active .newTicket button.submit' } )[0].click
|
||||||
sleep 1
|
sleep 1
|
||||||
|
@ -1151,7 +1151,7 @@ wait untill text in selector disabppears
|
||||||
# select tab
|
# select tab
|
||||||
click( browser: instance, css: '.active .tabsSidebar-tab[data-tab="customer"]')
|
click( browser: instance, css: '.active .tabsSidebar-tab[data-tab="customer"]')
|
||||||
|
|
||||||
click( browser: instance, css: '.active div[data-tab="customer"] .js-actions .select-arrow' )
|
click( browser: instance, css: '.active div[data-tab="customer"] .js-actions .icon-arrow-down' )
|
||||||
click( browser: instance, css: '.active div[data-tab="customer"] .js-actions a[data-type="customer-change"]' )
|
click( browser: instance, css: '.active div[data-tab="customer"] .js-actions a[data-type="customer-change"]' )
|
||||||
watch_for(
|
watch_for(
|
||||||
browser: instance,
|
browser: instance,
|
||||||
|
|
Loading…
Reference in a new issue