Match first of multiple links

This commit is contained in:
Francois van der Hoven
2018-02-22 16:56:58 +10:00
parent 52cf5ab541
commit bbf59cd8c1

View File

@@ -76,7 +76,7 @@ class TC_Login < Test::Unit::TestCase
attacker.should have_content(VICTIM_DOMAIN)
attacker.should have_content('127.0.0.1')
attacker.click_on('127.0.0.1')
attacker.click_on("127.0.0.1", match: :first)
sleep 1.0