summaryrefslogtreecommitdiffstats
path: root/qa/t/test_keywords.t
diff options
context:
space:
mode:
Diffstat (limited to 'qa/t/test_keywords.t')
-rw-r--r--qa/t/test_keywords.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/t/test_keywords.t b/qa/t/test_keywords.t
index 72a4f6049..0edffcc2f 100644
--- a/qa/t/test_keywords.t
+++ b/qa/t/test_keywords.t
@@ -128,7 +128,7 @@ $sel->wait_for_page_to_load(WAIT_TIME);
$sel->title_is("Bug List");
$sel->is_text_present_ok("2 bugs found");
-$sel->click_ok("link=Search");
+$sel->click_ok('//*[@class="link-search"]//a');
$sel->wait_for_page_to_load(WAIT_TIME);
$sel->title_is("Search for bugs");
$sel->remove_all_selections("product");
@@ -140,7 +140,7 @@ $sel->wait_for_page_to_load(WAIT_TIME);
$sel->title_is("Bug List");
$sel->is_text_present_ok("One bug found");
-$sel->click_ok("link=Search");
+$sel->click_ok('//*[@class="link-search"]//a');
$sel->wait_for_page_to_load(WAIT_TIME);
$sel->title_is("Search for bugs");
$sel->remove_all_selections("product");