From b7ee01602c9d7b4e73bd68d14a9e251365ba0fbe Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 27 Jul 2015 15:07:54 +0800 Subject: no bug - QA scripts should honour bugzilla_installation param --- qa/t/lib/QA/Util.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 qa/t/lib/QA/Util.pm (limited to 'qa') diff --git a/qa/t/lib/QA/Util.pm b/qa/t/lib/QA/Util.pm old mode 100644 new mode 100755 index d8d8ae52f..5734064c2 --- 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 { -- cgit v1.2.3-24-g4f1b