Skip to content

Commit

Permalink
[webui] use :xpath for xpath queries
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Oct 23, 2013
1 parent 8d63721 commit b193f6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/test/functional/webui/request_controller_test.rb
Expand Up @@ -26,7 +26,7 @@ def test_my_involved_requests
# request created
page.must_have_text 'Iggy Pop (Iggy) wants the role bugowner for project home:tom'
find('#description_text').must_have_text 'I can fix bugs too.'
page.must_have_selector("input[@name='revoked']")
page.must_have_selector(:xpath, "//input[@name='revoked']")
page.must_have_text('In state new')

logout
Expand All @@ -50,7 +50,7 @@ def test_my_involved_requests
# request created
find('#action_display_0').must_have_text 'Iggy Pop (Iggy) wants the role maintainer for package Apache / apache2'
find('#description_text').must_have_text 'I can fix bugs too.'
page.must_have_selector("input[@name='revoked']")
page.must_have_selector(:xpath, "//input[@name='revoked']")
page.must_have_text('In state new')


Expand Down

0 comments on commit b193f6a

Please sign in to comment.