Fixed task modified selector.
This commit is contained in:
parent
3c7e7684f8
commit
190d86d4f1
2 changed files with 4 additions and 4 deletions
|
@ -87,7 +87,7 @@ class AgentTicketActionLevel4Test < TestCase
|
||||||
css: ".tasks a[href=\"#ticket/zoom/#{ticket_id}\"]",
|
css: ".tasks a[href=\"#ticket/zoom/#{ticket_id}\"]",
|
||||||
)
|
)
|
||||||
exists_not(
|
exists_not(
|
||||||
css: ".tasks a[href=\"#ticket/zoom/#{ticket_id}\"] .modified",
|
css: ".tasks a[href=\"#ticket/zoom/#{ticket_id}\"].is-modified",
|
||||||
)
|
)
|
||||||
|
|
||||||
# reload
|
# reload
|
||||||
|
|
|
@ -659,11 +659,11 @@ class TestCase < Test::Unit::TestCase
|
||||||
puts "tv #{params.inspect}"
|
puts "tv #{params.inspect}"
|
||||||
# verify modified
|
# verify modified
|
||||||
if data.key?(:modified)
|
if data.key?(:modified)
|
||||||
exists = instance.find_elements( { css: '.tasks .is-active .icon' } )[0]
|
exists = instance.find_elements( { css: '.tasks .is-active' } )[0]
|
||||||
is_modified = instance.find_elements( { css: '.tasks .is-active .icon.modified' } )[0]
|
is_modified = instance.find_elements( { css: '.tasks .is-modified' } )[0]
|
||||||
puts "m #{data[:modified].inspect}"
|
puts "m #{data[:modified].inspect}"
|
||||||
if exists
|
if exists
|
||||||
puts ' ecists'
|
puts ' exists'
|
||||||
end
|
end
|
||||||
if is_modified
|
if is_modified
|
||||||
puts ' is_modified'
|
puts ' is_modified'
|
||||||
|
|
Loading…
Reference in a new issue