Fixed arrow down selector.

This commit is contained in:
Martin Edenhofer 2015-06-01 00:47:53 +02:00
parent b02d9f5302
commit 169fe22fdf
5 changed files with 8 additions and 8 deletions

View file

@ -38,7 +38,7 @@ class AgentOrganizationProfileTest < TestCase
sleep 2
# 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"]' )
watch_for(

View file

@ -230,7 +230,7 @@ class AgentTicketActionLevel0Test < TestCase
)
click(
browser: browser2,
css: '.active div[data-tab="ticket"] .js-actions .select-arrow',
css: '.active div[data-tab="ticket"] .js-actions .icon-arrow-down',
)
click(
browser: browser2,

View file

@ -56,7 +56,7 @@ class AgentTicketActionLevel1Test < TestCase
)
# 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"]' )
watch_for(
css: '.modal',
@ -113,7 +113,7 @@ class AgentTicketActionLevel1Test < TestCase
)
# 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"]' )
watch_for(
css: '.modal',

View file

@ -36,7 +36,7 @@ class AgentUserProfileTest < TestCase
sleep 2
# 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"]' )
watch_for(

View file

@ -1053,7 +1053,7 @@ wait untill text in selector disabppears
element.send_keys( :arrow_down )
sleep 0.3
instance.find_elements( { css: '.active .newTicket .recipientList-entry.js-user.is-active' } )[0].click
sleep 0.3
sleep 0.6
end
if data[:attachment]
@ -1068,7 +1068,7 @@ wait untill text in selector disabppears
assert( true, 'ticket created without submit' )
return
end
sleep 1.6
sleep 0.8
#instance.execute_script( '$(".content.active .newTicket form").submit();' )
instance.find_elements( { css: '.active .newTicket button.submit' } )[0].click
sleep 1
@ -1151,7 +1151,7 @@ wait untill text in selector disabppears
# select tab
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"]' )
watch_for(
browser: instance,