diff --git a/test/browser/agent_ticket_actions_level0_test.rb b/test/browser/agent_ticket_actions_level0_test.rb index d9a9e69f4..3153ebaa9 100644 --- a/test/browser/agent_ticket_actions_level0_test.rb +++ b/test/browser/agent_ticket_actions_level0_test.rb @@ -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 diff --git a/test/browser/agent_ticket_actions_level1_test.rb b/test/browser/agent_ticket_actions_level1_test.rb index 10602cedc..0ab026727 100644 --- a/test/browser/agent_ticket_actions_level1_test.rb +++ b/test/browser/agent_ticket_actions_level1_test.rb @@ -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', diff --git a/test/browser/agent_user_profile_test.rb b/test/browser/agent_user_profile_test.rb index 9eeb5662a..cbd1b4bba 100644 --- a/test/browser/agent_user_profile_test.rb +++ b/test/browser/agent_user_profile_test.rb @@ -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', diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index 6f22246a3..6cd080c16 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -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',