summaryrefslogtreecommitdiffstats
path: root/qa/t/test_bmo_enter_new_bug.t
diff options
context:
space:
mode:
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"));