From 8b03219f373ec89357d948db0ba67dedb03bb72f Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Mon, 27 Feb 2017 17:55:04 +0000 Subject: fix one test and add diagnostics to other --- xt/selenium/email_preferences.t | 3 +++ xt/selenium/user_preferences.t | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'xt/selenium') diff --git a/xt/selenium/email_preferences.t b/xt/selenium/email_preferences.t index d1e860a3c..7de0a78fb 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 cf33e7dad..c02edffaf 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); -- cgit v1.2.3-24-g4f1b