Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
9f175f1f
Commit
9f175f1f
authored
Feb 27, 2017
by
Dylan William Hardison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more debugging for the benefit of taskcluster
parent
8b03219f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
email_preferences.t
xt/selenium/email_preferences.t
+5
-5
No files found.
xt/selenium/email_preferences.t
View file @
9f175f1f
...
...
@@ -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;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment