summaryrefslogtreecommitdiffstats
path: root/qa/t/lib
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2017-12-13 22:06:06 +0100
committerDylan William Hardison <dylan@hardison.net>2017-12-13 22:06:06 +0100
commit2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99 (patch)
treeaba81e2eedc8af3136af73af3beba04c092ff80c /qa/t/lib
parent48fe3a1e0a4a833aa14e7f95136d0e4542959eb8 (diff)
downloadbugzilla-2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99.tar.gz
bugzilla-2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99.tar.xz
Bug 1376826 - New HTML Header for BMO
Diffstat (limited to 'qa/t/lib')
-rw-r--r--qa/t/lib/QA/Util.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/t/lib/QA/Util.pm b/qa/t/lib/QA/Util.pm
index 4999e6f3b..0ef843ce7 100644
--- a/qa/t/lib/QA/Util.pm
+++ b/qa/t/lib/QA/Util.pm
@@ -203,7 +203,7 @@ sub file_bug_in_product {
my $config = get_config();
$classification ||= "Unclassified";
- $sel->click_ok("link=New", undef, "Go create a new bug");
+ $sel->click_ok('//*[@class="link-file"]//a', undef, "Go create a new bug");
$sel->wait_for_page_to_load(WAIT_TIME);
my $title = $sel->get_title();
if ($sel->is_text_present("Select Classification")) {
@@ -328,7 +328,7 @@ sub add_product {
sub open_advanced_search_page {
my $sel = shift;
- $sel->click_ok("link=Search");
+ $sel->click_ok('//*[@class="link-search"]//a');
$sel->wait_for_page_to_load(WAIT_TIME);
my $title = $sel->get_title();
if ($title eq "Simple Search") {