Skip to content

Commit

Permalink
Link locator doesn't have to be on same line with anchor tag
Browse files Browse the repository at this point in the history
Seleniumlibrary have maybe some bug where formatting of
html files affects on how it finds links by text.
  • Loading branch information
ilesoft committed Dec 13, 2024
1 parent 819f960 commit d33cc24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/robot/yhteiset_resurssit.resource
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Kipa Suite Setup

Open Sub Page Verify Location And Title
[Arguments] ${link_name} ${link} ${page_title}
Click Link ${link_name}
Click Link xpath://a[contains(., '${link_name}')]
Wait Until Keyword Succeeds 10 sec 2 sec Location Should Be ${KIPA_URL}/${TESTIKISA}/${link}/
Wait Until Keyword Succeeds 10 sec 2 sec Title Should Be ${page_title}

Expand All @@ -46,7 +46,7 @@ Remove Competition
Open KiPa Main Page
click link ${competition}
title should be Kipa - ${competition}
Click Link poista kisa
Click Link xpath://a[contains(., 'poista kisa')]
Title Should Be ${KISAN_POISTO_OTSIKKO}
Click Button Kyllä
Wait Until Keyword Succeeds 10 sec 2 sec Title Should Be ${KAIKKI_KISAT_OTSIKKO}
Expand Down

0 comments on commit d33cc24

Please sign in to comment.