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}\"]",
|
||||
)
|
||||
exists_not(
|
||||
css: ".tasks a[href=\"#ticket/zoom/#{ticket_id}\"] .modified",
|
||||
css: ".tasks a[href=\"#ticket/zoom/#{ticket_id}\"].is-modified",
|
||||
)
|
||||
|
||||
# reload
|
||||
|
|
|
@ -659,11 +659,11 @@ class TestCase < Test::Unit::TestCase
|
|||
puts "tv #{params.inspect}"
|
||||
# verify modified
|
||||
if data.key?(:modified)
|
||||
exists = instance.find_elements( { css: '.tasks .is-active .icon' } )[0]
|
||||
is_modified = instance.find_elements( { css: '.tasks .is-active .icon.modified' } )[0]
|
||||
exists = instance.find_elements( { css: '.tasks .is-active' } )[0]
|
||||
is_modified = instance.find_elements( { css: '.tasks .is-modified' } )[0]
|
||||
puts "m #{data[:modified].inspect}"
|
||||
if exists
|
||||
puts ' ecists'
|
||||
puts ' exists'
|
||||
end
|
||||
if is_modified
|
||||
puts ' is_modified'
|
||||
|
|
Loading…
Reference in a new issue