More tolerance for css selectors.
This commit is contained in:
parent
78bc16895e
commit
ac7d3f9cba
4 changed files with 5 additions and 5 deletions
|
@ -234,7 +234,7 @@ class AgentTicketActionLevel0Test < TestCase
|
|||
)
|
||||
click(
|
||||
browser: browser2,
|
||||
css: '.active div[data-tab="ticket"] .js-actions a[data-type="customer-change"]',
|
||||
css: '.active div[data-tab="ticket"] .js-actions [data-type="customer-change"]',
|
||||
)
|
||||
sleep 1
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ class AgentTicketActionLevel1Test < TestCase
|
|||
|
||||
# merge tickets
|
||||
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 [data-type="ticket-merge"]' )
|
||||
watch_for(
|
||||
css: '.modal',
|
||||
value: 'merge',
|
||||
|
@ -114,7 +114,7 @@ class AgentTicketActionLevel1Test < TestCase
|
|||
|
||||
# merge tickets
|
||||
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 [data-type="ticket-merge"]' )
|
||||
watch_for(
|
||||
css: '.modal',
|
||||
value: 'merge',
|
||||
|
|
|
@ -37,7 +37,7 @@ class AgentUserProfileTest < TestCase
|
|||
|
||||
# check and change note again in edit screen
|
||||
click( css: '.active .js-action .icon-arrow-down' )
|
||||
click( css: '.active .js-action a[data-type="edit"]' )
|
||||
click( css: '.active .js-action [data-type="edit"]' )
|
||||
|
||||
watch_for(
|
||||
css: '.active .modal',
|
||||
|
|
|
@ -1185,7 +1185,7 @@ wait untill text in selector disabppears
|
|||
click( browser: instance, css: '.active .tabsSidebar-tab[data-tab="customer"]')
|
||||
|
||||
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 [data-type="customer-change"]' )
|
||||
watch_for(
|
||||
browser: instance,
|
||||
css: '.modal',
|
||||
|
|
Loading…
Reference in a new issue