forked from EVOgeek/Vmeda.Online
		
	MOBILE-4270 messages: Prepare snapshot tests
This commit is contained in:
		
							parent
							
								
									64136de495
								
							
						
					
					
						commit
						46faf7c424
					
				| @ -38,12 +38,20 @@ Feature: Test basic usage of messages in app | ||||
| 
 | ||||
|     Given I entered the app as "student1" | ||||
|     When I press "Messages" in the app | ||||
|     And I press "Contacts" in the app | ||||
|     And I replace "/.*/" within ".addon-message-last-message-date" with "[Date]" | ||||
|     Then I should find "Contacts" in the app | ||||
|     And the UI should match the snapshot | ||||
| 
 | ||||
|     When I press "Contacts" in the app | ||||
|     And I press "Requests" in the app | ||||
|     And I press "Teacher teacher" in the app | ||||
|     And I press "Accept and add to contacts" in the app | ||||
|     Then I should not find "Teacher teacher would like to contact you" in the app | ||||
| 
 | ||||
|     When I replace "/.*/" within ".addon-messages-date" with "[Day]" | ||||
|     And I replace "/.*/" within ".message-time" with "[Date]" | ||||
|     Then the UI should match the snapshot | ||||
| 
 | ||||
|     When I press the back button in the app | ||||
|     And I press "Contacts" near "No contact requests" in the app | ||||
|     Then the header should be "Contacts" in the app | ||||
|  | ||||
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 25 KiB | 
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 17 KiB | 
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user