From: Dylan William Hardison Date: Mon, 27 Feb 2017 17:55:04 +0000 (+0000) Subject: fix one test and add diagnostics to other X-Git-Tag: release-5.1.2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8b03219f373ec89357d948db0ba67dedb03bb72f;p=thirdparty%2Fbugzilla.git fix one test and add diagnostics to other --- diff --git a/xt/selenium/email_preferences.t b/xt/selenium/email_preferences.t index d1e860a3ca..7de0a78fb2 100644 --- a/xt/selenium/email_preferences.t +++ b/xt/selenium/email_preferences.t @@ -352,6 +352,9 @@ sub verify_bugmail_recipients { my $wanted_sentto; my $err = 0; + my ($package, $filename, $line) = caller; + diag "verify_bugmail_recipients called from $filename line $line"; + # Verify sentto field my @email_sentto = sort split(/, /, $sel->get_text("//dt[text()='Email sent to:']/following-sibling::dd")); diff --git a/xt/selenium/user_preferences.t b/xt/selenium/user_preferences.t index cf33e7dad7..c02edffaf9 100644 --- a/xt/selenium/user_preferences.t +++ b/xt/selenium/user_preferences.t @@ -72,7 +72,7 @@ $sel->value_is("addselfcc", "off"); $sel->type_ok("quicksearch_top", "tag:sel-tmp"); $sel->click_ok("find_top"); $sel->wait_for_page_to_load_ok(WAIT_TIME); -$sel->title_is("Bug List"); +$sel->title_is("Bug List: tag:sel-tmp"); $sel->type_ok("save_newqueryname", "sel-tmp"); $sel->click_ok("remember"); $sel->wait_for_page_to_load_ok(WAIT_TIME);