From 03965aa2b65f53a16af1d5f5b5f9bb3920e4adc6 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 21 Sep 2015 16:37:25 +0200 Subject: [PATCH] Link attribute is now auto generated. --- test/browser/agent_ticket_overview_level1_test.rb | 1 - test/browser_test_helper.rb | 6 ------ 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 2d4c2bbc4..8d70641b8 100644 --- a/test/browser/agent_ticket_overview_level1_test.rb +++ b/test/browser/agent_ticket_overview_level1_test.rb @@ -28,7 +28,6 @@ class AgentTicketOverviewLevel1Test < TestCase browser: browser1, data: { :name => name, - :link => name, :role => 'Agent', :prio => 1000, 'order::direction' => 'down', diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index 3d602116f..ee9bca87c 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -922,7 +922,6 @@ wait untill text in selector disabppears :browser => browser1, :data => { :name => name, - :link => name, :role => 'Agent', :prio => 1000, 'order::direction' => 'down', @@ -948,11 +947,6 @@ wait untill text in selector disabppears element.clear element.send_keys( data[:name] ) end - if data[:link] - element = instance.find_elements( { css: '.modal input[name=link]' } )[0] - element.clear - element.send_keys( data[:link] ) - end if data[:role] element = instance.find_elements( { css: '.modal select[name="role_id"]' } )[0] dropdown = Selenium::WebDriver::Support::Select.new(element)