Fixed task modified selector.

This commit is contained in:
Martin Edenhofer 2015-06-01 12:38:10 +02:00
parent 3c7e7684f8
commit 190d86d4f1
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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'