summaryrefslogtreecommitdiffstats
path: root/xt
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-02-27 19:29:41 +0100
committerDylan William Hardison <dylan@hardison.net>2017-02-27 19:29:41 +0100
commit9f175f1fbc24bcb3044b2bb01e949f8723279b49 (patch)
tree2a4bed5cb423ebc34bd09d1d2c2d099f5518dd23 /xt
parent8b03219f373ec89357d948db0ba67dedb03bb72f (diff)
downloadbugzilla-9f175f1fbc24bcb3044b2bb01e949f8723279b49.tar.gz
bugzilla-9f175f1fbc24bcb3044b2bb01e949f8723279b49.tar.xz
more debugging for the benefit of taskcluster
Diffstat (limited to 'xt')
-rw-r--r--xt/selenium/email_preferences.t10
1 files changed, 5 insertions, 5 deletions
diff --git a/xt/selenium/email_preferences.t b/xt/selenium/email_preferences.t
index 7de0a78fb..ce7888228 100644
--- a/xt/selenium/email_preferences.t
+++ b/xt/selenium/email_preferences.t
@@ -353,28 +353,28 @@ sub verify_bugmail_recipients {
my $err = 0;
my ($package, $filename, $line) = caller;
- diag "verify_bugmail_recipients called from $filename line $line";
+ my $prefix = "verify_bugmail_recipients:$line";
# Verify sentto field
my @email_sentto
= sort split(/, /, $sel->get_text("//dt[text()='Email sent to:']/following-sibling::dd"));
if ($rcpt_sentto == RCPT_BOTH) {
$wanted_sentto = \@email_both;
- is_deeply(\@email_sentto, $wanted_sentto, "Bugmail sent to both")
+ is_deeply(\@email_sentto, $wanted_sentto, "$prefix: Bugmail sent to both")
or $err = 1;
}
elsif ($rcpt_sentto == RCPT_ADMIN) {
$wanted_sentto = \@email_admin;
- is_deeply(\@email_sentto, $wanted_sentto, "Bugmail sent to admin")
+ is_deeply(\@email_sentto, $wanted_sentto, "$prefix: Bugmail sent to admin")
or $err = 1;
}
elsif ($rcpt_sentto == RCPT_NORMAL) {
$wanted_sentto = \@email_normal;
- is_deeply(\@email_sentto, $wanted_sentto, "Bugmail sent to normal user")
+ is_deeply(\@email_sentto, $wanted_sentto, "$prefix: Bugmail sent to normal user")
or $err = 1;
} else {
$wanted_sentto = \@email_none;
- is_deeply(\@email_sentto, $wanted_sentto, "Bugmail sent to no one")
+ is_deeply(\@email_sentto, $wanted_sentto, "$prefix: Bugmail sent to no one")
or $err = 1;
}