Commit b83e398a authored by S Anand's avatar S Anand

TST: make test cases more robust for Selenium Chrome

parent 0040f116
......@@ -81,8 +81,8 @@
edit: true
})
.on('load', function () {
t.equals($('div.no-link tr:nth-child(1) > td:nth-child(3)').text(), "AND")
t.equals($('div.no-link tr:nth-child(2) > td:nth-child(3)').text(), "ARE")
t.equals($('div.no-link tr:nth-child(1) > td:nth-child(3)').text().trim(), "AND")
t.equals($('div.no-link tr:nth-child(2) > td:nth-child(3)').text().trim(), "ARE")
t.ok($('div.no-link tr:nth-child(1) > td:nth-child(1) a').hasClass('urlfilter'), 'has class urlfilter')
t.ok($('div.no-link tr:nth-child(1) > td:nth-child(1) a').attr('href'), '?ID=AND')
......
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