Change message contents to differentiate messages.

I have a hunch that the messages sent from different files
are interfering with each other as well. This commit will make
it clear if indeed this is the case.
This commit is contained in:
Umair Khan 2016-09-30 17:20:01 +05:00
parent de905457ac
commit 81174fa580
1 changed files with 7 additions and 7 deletions

View File

@ -38,13 +38,13 @@ casper.then(function () {
common.then_send_many([ common.then_send_many([
{ stream: 'Verona', subject: 'frontend test', { stream: 'Verona', subject: 'frontend test',
content: 'test message A' }, content: 'test verona A' },
{ stream: 'Verona', subject: 'frontend test', { stream: 'Verona', subject: 'frontend test',
content: 'test message B' }, content: 'test verona B' },
{ stream: 'Verona', subject: 'other subject', { stream: 'Verona', subject: 'other subject',
content: 'test message C' }, content: 'test verona C' },
{ recipient: 'cordelia@zulip.com, hamlet@zulip.com', { recipient: 'cordelia@zulip.com, hamlet@zulip.com',
content: 'personal A' }, content: 'personal A' },
@ -62,9 +62,9 @@ common.wait_for_receive(function () {
'You and Cordelia Lear, King Hamlet', 'You and Cordelia Lear, King Hamlet',
'You and Cordelia Lear' 'You and Cordelia Lear'
], [ ], [
'<p>test message A</p>', '<p>test verona A</p>',
'<p>test message B</p>', '<p>test verona B</p>',
'<p>test message C</p>', '<p>test verona C</p>',
'<p>personal A</p>', '<p>personal A</p>',
'<p>personal B</p>', '<p>personal B</p>',
'<p>personal C</p>' '<p>personal C</p>'
@ -75,7 +75,7 @@ common.wait_for_receive(function () {
common.then_send_many([ common.then_send_many([
{ stream: 'Verona', subject: 'frontend test', { stream: 'Verona', subject: 'frontend test',
content: 'test message D' }, content: 'test verona D' },
{ recipient: 'cordelia@zulip.com, hamlet@zulip.com', { recipient: 'cordelia@zulip.com, hamlet@zulip.com',
content: 'personal D' } content: 'personal D' }