Link attribute is now auto generated.
This commit is contained in:
parent
bd83982505
commit
03965aa2b6
2 changed files with 0 additions and 7 deletions
|
@ -28,7 +28,6 @@ class AgentTicketOverviewLevel1Test < TestCase
|
||||||
browser: browser1,
|
browser: browser1,
|
||||||
data: {
|
data: {
|
||||||
:name => name,
|
:name => name,
|
||||||
:link => name,
|
|
||||||
:role => 'Agent',
|
:role => 'Agent',
|
||||||
:prio => 1000,
|
:prio => 1000,
|
||||||
'order::direction' => 'down',
|
'order::direction' => 'down',
|
||||||
|
|
|
@ -922,7 +922,6 @@ wait untill text in selector disabppears
|
||||||
:browser => browser1,
|
:browser => browser1,
|
||||||
:data => {
|
:data => {
|
||||||
:name => name,
|
:name => name,
|
||||||
:link => name,
|
|
||||||
:role => 'Agent',
|
:role => 'Agent',
|
||||||
:prio => 1000,
|
:prio => 1000,
|
||||||
'order::direction' => 'down',
|
'order::direction' => 'down',
|
||||||
|
@ -948,11 +947,6 @@ wait untill text in selector disabppears
|
||||||
element.clear
|
element.clear
|
||||||
element.send_keys( data[:name] )
|
element.send_keys( data[:name] )
|
||||||
end
|
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]
|
if data[:role]
|
||||||
element = instance.find_elements( { css: '.modal select[name="role_id"]' } )[0]
|
element = instance.find_elements( { css: '.modal select[name="role_id"]' } )[0]
|
||||||
dropdown = Selenium::WebDriver::Support::Select.new(element)
|
dropdown = Selenium::WebDriver::Support::Select.new(element)
|
||||||
|
|
Loading…
Reference in a new issue