summaryrefslogtreecommitdiffstats
path: root/qa/t
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-07-27 09:07:54 +0200
committerByron Jones <glob@mozilla.com>2015-07-27 09:07:54 +0200
commitb7ee01602c9d7b4e73bd68d14a9e251365ba0fbe (patch)
tree7e32ae473265e9335441e65e3cfdda968d91cbf9 /qa/t
parent1146dfffe7569ec677fd03c47b2a0447cf5b74ff (diff)
downloadbugzilla-b7ee01602c9d7b4e73bd68d14a9e251365ba0fbe.tar.gz
bugzilla-b7ee01602c9d7b4e73bd68d14a9e251365ba0fbe.tar.xz
no bug - QA scripts should honour bugzilla_installation param
Diffstat (limited to 'qa/t')
-rwxr-xr-x[-rw-r--r--]qa/t/lib/QA/Util.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/qa/t/lib/QA/Util.pm b/qa/t/lib/QA/Util.pm
index d8d8ae52f..5734064c2 100644..100755
--- a/qa/t/lib/QA/Util.pm
+++ b/qa/t/lib/QA/Util.pm
@@ -175,6 +175,7 @@ sub logout {
# Display the bug form to enter a bug in the given product.
sub file_bug_in_product {
my ($sel, $product, $classification) = @_;
+ my $config = get_config();
$classification ||= "Unclassified";
$sel->click_ok("link=New", undef, "Go create a new bug");
@@ -194,7 +195,7 @@ sub file_bug_in_product {
}
if ($sel->is_text_present($product)) {
ok(1, "Display the list of enterable products");
- $sel->open_ok("/bmo/enter_bug.cgi?product=$product&format=__default__", undef, "Choose product $product");
+ $sel->open_ok("/" . $config->{bugzilla_installation} . "/enter_bug.cgi?product=$product&format=__default__", undef, "Choose product $product");
$sel->wait_for_page_to_load(WAIT_TIME);
}
else {