Commit a643f4c7 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

tests watir: test_12_tag, .wait_{until|while}_present

We should wait.
parent bef81796
......@@ -285,12 +285,12 @@ class Browser < MiniTest::Test
def test_12_tag
begin
$b.clone_info('25')[:star].click
$b.tag_item('0')[:name].click
$b.unselect
name = $b.tag_item('0')[:name]
name.wait_until_present
name.click
name.wait_while_present
assert ($b.clone_info('25')[:name].style('color') == 'rgba(220, 50, 47, 1)' ) , ">> fail tag : clone color hasn't changed"
rescue
assert (false), "missing element to run test_12_tag \n"
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment