Include the browser name when printing unit-test results
This uses a similar format to the reference-test logging, and will help determine in *exactly* which browser the failure occurred (since the tests run concurrently).
This commit is contained in:
		
							parent
							
								
									311ca6e796
								
							
						
					
					
						commit
						e4ad91be05
					
				@ -750,7 +750,8 @@ function unitTestPostHandler(req, res) {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    var session = getSession(data.browser);
 | 
					    var session = getSession(data.browser);
 | 
				
			||||||
    session.numRuns++;
 | 
					    session.numRuns++;
 | 
				
			||||||
    var message = data.status + " | " + data.description;
 | 
					    var message =
 | 
				
			||||||
 | 
					      data.status + " | " + data.description + " | in " + session.name;
 | 
				
			||||||
    if (data.status === "TEST-UNEXPECTED-FAIL") {
 | 
					    if (data.status === "TEST-UNEXPECTED-FAIL") {
 | 
				
			||||||
      session.numErrors++;
 | 
					      session.numErrors++;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user