summaryrefslogtreecommitdiffstats
path: root/qa/t/test_bmo_enter_new_bug.t
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2017-12-19 14:23:53 +0100
committerDylan William Hardison <dylan@hardison.net>2017-12-19 14:23:53 +0100
commit0bef54c7899da717a8c60e1562c838381d014c10 (patch)
treee5cb7713ad88a04b9ff5aa59a240cd6e2d94885a /qa/t/test_bmo_enter_new_bug.t
parent6bcedf7e2cb411174220bff87e2c8318a210ce48 (diff)
downloadbugzilla-0bef54c7899da717a8c60e1562c838381d014c10.tar.gz
bugzilla-0bef54c7899da717a8c60e1562c838381d014c10.tar.xz
Bug 1420771 - Remove global footer
Diffstat (limited to 'qa/t/test_bmo_enter_new_bug.t')
-rw-r--r--qa/t/test_bmo_enter_new_bug.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/qa/t/test_bmo_enter_new_bug.t b/qa/t/test_bmo_enter_new_bug.t
index 6e5753c74..375a59fcb 100644
--- a/qa/t/test_bmo_enter_new_bug.t
+++ b/qa/t/test_bmo_enter_new_bug.t
@@ -212,7 +212,7 @@ _check_group('pr-private');
_check_product('Legal');
_check_component('Legal', 'Contract Request');
-_check_group('mozilla-employee-confidential');
+_check_group('mozilla-employee-confidential');
$sel->open_ok("/$config->{bugzilla_installation}/enter_bug.cgi?product=Legal&format=legal");
$sel->wait_for_page_to_load_ok(WAIT_TIME);
@@ -289,7 +289,7 @@ sub _check_component {
$sel->wait_for_page_to_load_ok(WAIT_TIME);
$sel->title_is("Edit components for which product?");
- $sel->click_ok("link=$product");
+ $sel->click_ok("//div[\@id='bugzilla-body']//a[normalize-space(text())='$product']");
$sel->wait_for_page_to_load_ok(WAIT_TIME);
$sel->title_is("Select component of product '$product'");
@@ -311,7 +311,7 @@ sub _check_component {
$sel->click_ok("link=components");
$sel->wait_for_page_to_load_ok(WAIT_TIME);
$sel->title_is("Edit components for which product?");
- $sel->click_ok("link=$product");
+ $sel->click_ok("//div[\@id='bugzilla-body']//a[normalize-space(text())='$product']");
$sel->wait_for_page_to_load_ok(WAIT_TIME);
$sel->title_is("Select component of product '$product'");
$sel->click_ok("link=Add");
@@ -372,7 +372,7 @@ sub _check_version {
$sel->click_ok("link=versions");
$sel->wait_for_page_to_load(WAIT_TIME);
$sel->title_is("Edit versions for which product?");
- $sel->click_ok("link=$product");
+ $sel->click_ok("//div[\@id='bugzilla-body']//a[normalize-space(text())='$product']");
$sel->wait_for_page_to_load(WAIT_TIME);
my $text = trim($sel->get_text("bugzilla-body"));