Commit b83e398a authored by S Anand's avatar S Anand
Browse files

TST: make test cases more robust for Selenium Chrome

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