@@ -26,7 +26,7 @@ test('correctly displays statuses for single COMPLETED test run', async () => {
26
26
{
27
27
id : '0' ,
28
28
testResults : new Array ( 3 ) . fill ( null ) ,
29
- tester : { username : 'bot' } ,
29
+ tester : { username : 'bot' , isBot : true } ,
30
30
collectionJob : {
31
31
status : COLLECTION_JOB_STATUS . COMPLETED ,
32
32
testStatus : [
@@ -59,7 +59,7 @@ test('correctly ignores test results from a human-submitted test plan run', asyn
59
59
{
60
60
id : '0' ,
61
61
testResults : new Array ( 2 ) . fill ( null ) ,
62
- tester : { username : 'bot' } ,
62
+ tester : { username : 'bot' , isBot : true } ,
63
63
collectionJob : {
64
64
status : COLLECTION_JOB_STATUS . COMPLETED ,
65
65
testStatus : [
@@ -71,7 +71,7 @@ test('correctly ignores test results from a human-submitted test plan run', asyn
71
71
{
72
72
id : '1' ,
73
73
testResults : new Array ( 2 ) . fill ( null ) ,
74
- tester : { username : 'human' } ,
74
+ tester : { username : 'human' , isBot : false } ,
75
75
collectionJob : null
76
76
}
77
77
] ;
@@ -95,7 +95,7 @@ test('correctly displays statuses for CANCELLED test run', async () => {
95
95
{
96
96
id : '0' ,
97
97
testResults : new Array ( 2 ) . fill ( null ) ,
98
- tester : { username : 'bot' } ,
98
+ tester : { username : 'bot' , isBot : true } ,
99
99
collectionJob : {
100
100
status : COLLECTION_JOB_STATUS . CANCELLED ,
101
101
testStatus : [
@@ -127,7 +127,7 @@ test('correctly displays statuses for multiple RUNNING and QUEUED test runs', as
127
127
{
128
128
id : '0' ,
129
129
testResults : new Array ( 2 ) . fill ( null ) ,
130
- tester : { username : 'bot' } ,
130
+ tester : { username : 'bot' , isBot : true } ,
131
131
collectionJob : {
132
132
status : COLLECTION_JOB_STATUS . RUNNING ,
133
133
testStatus : [
@@ -140,7 +140,7 @@ test('correctly displays statuses for multiple RUNNING and QUEUED test runs', as
140
140
{
141
141
id : '1' ,
142
142
testResults : new Array ( 2 ) . fill ( null ) ,
143
- tester : { username : 'bot' } ,
143
+ tester : { username : 'bot' , isBot : true } ,
144
144
collectionJob : {
145
145
status : COLLECTION_JOB_STATUS . CANCELLED ,
146
146
testStatus : [
0 commit comments