mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	tests: Use then_send_many
(imported from commit 228ee697a54643912eb3846d48c78e4464193632)
This commit is contained in:
		
				
					committed by
					
						
						Steve Howell
					
				
			
			
				
	
			
			
			
						parent
						
							719d551de6
						
					
				
				
					commit
					2f01e9c51d
				
			@@ -3,15 +3,15 @@ var common = require('../common.js').common;
 | 
				
			|||||||
common.start_and_log_in();
 | 
					common.start_and_log_in();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Send a message to try replying to
 | 
					// Send a message to try replying to
 | 
				
			||||||
common.then_send_message('stream', {
 | 
					common.then_send_many([
 | 
				
			||||||
    stream: 'Verona',
 | 
					    { stream: 'Verona',
 | 
				
			||||||
    subject: 'Reply test',
 | 
					      subject: 'Reply test',
 | 
				
			||||||
    content: "We reply to this message"
 | 
					      content: "We reply to this message"
 | 
				
			||||||
});
 | 
					    },
 | 
				
			||||||
common.then_send_message('private', {
 | 
					    { recipient: "cordelia@zulip.com",
 | 
				
			||||||
    recipient: "cordelia@zulip.com",
 | 
					      content: "And reply to this message"
 | 
				
			||||||
    content: "And reply to this message"
 | 
					    }
 | 
				
			||||||
});
 | 
					]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
casper.waitForText("And reply to this message", function () {
 | 
					casper.waitForText("And reply to this message", function () {
 | 
				
			||||||
    // TODO: Test opening the compose box from the left side buttons
 | 
					    // TODO: Test opening the compose box from the left side buttons
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user