From ee25ccbd32fab8ef152d5bc8f8a2a5da04cce811 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 12 Mar 2016 18:07:55 +0100 Subject: [PATCH] Removed not longer needed prio param (already filled in backend). --- test/browser/agent_ticket_overview_level1_test.rb | 2 -- test/browser_test_helper.rb | 5 ----- 2 files changed, 7 deletions(-) diff --git a/test/browser/agent_ticket_overview_level1_test.rb b/test/browser/agent_ticket_overview_level1_test.rb index fbabbebc7..4c8bae5a2 100644 --- a/test/browser/agent_ticket_overview_level1_test.rb +++ b/test/browser/agent_ticket_overview_level1_test.rb @@ -33,7 +33,6 @@ class AgentTicketOverviewLevel1Test < TestCase selector: { 'Priority' => '1 low', }, - prio: 1000, 'order::direction' => 'down', } ) @@ -45,7 +44,6 @@ class AgentTicketOverviewLevel1Test < TestCase selector: { 'Priority' => '3 high', }, - prio: 1001, 'order::direction' => 'down', } ) diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index 031febbf8..392966931 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -1285,11 +1285,6 @@ wait untill text in selector disabppears } end - if data[:prio] - element = instance.find_elements(css: '.modal input[name=prio]')[0] - element.clear - element.send_keys(data[:prio]) - end if data['order::direction'] element = instance.find_elements(css: '.modal select[name="order::direction"]')[0] dropdown = Selenium::WebDriver::Support::Select.new(element)