class TestAssertXPath

Public Instance Methods

test_ok_xp() click to toggle source
# File vendor/qwik/lib/qwik/check-libxml.rb, line 85
def test_ok_xp
  t_add_user
  session('/test/')
  ok_in(['FrontPage'], '//h1')
  ok_xp([:a, {:href=>'.logout'}, 'Logout'], '//a')
  ok_in(['Logout'], '//a')
end