Auto retry twice if test failed
This commit is contained in:
@@ -35,6 +35,11 @@
|
||||
window.location.replace('/results/' + testId);
|
||||
});
|
||||
|
||||
socket.on('failed', function() {
|
||||
statusElement.innerHTML = 'Test failed';
|
||||
window.location.replace('/results/' + testId);
|
||||
});
|
||||
|
||||
socket.on('404', function() {
|
||||
statusElement.innerHTML = 'Test not found';
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user