@@ -4,6 +4,7 @@ import { SagaHistory } from "@/resources/SagaHistory";
4
4
import makeRouter from "@/router" ;
5
5
import { createTestingPinia } from "@pinia/testing" ;
6
6
import { MessageStore } from "@/stores/MessageStore" ;
7
+ import { MessageStatus } from "@/resources/Message" ;
7
8
8
9
//Defines a domain-specific language (DSL) for interacting with the system under test (sut)
9
10
interface componentDSL {
@@ -377,9 +378,12 @@ const sampleSagaHistory: SagaHistory = {
377
378
is_saga_timeout_message : true ,
378
379
originating_endpoint : "Endpoint1" ,
379
380
originating_machine : "mobvm2" ,
381
+ receiving_endpoint : "receiving endpoint" ,
380
382
time_sent : new Date ( "2025-03-28T03:04:06.321561Z" ) ,
381
383
message_type : "ServiceControl.SmokeTest.MyCustomTimeout" ,
382
384
intent : "Send" ,
385
+ body_url : "body_url" ,
386
+ message_status : MessageStatus . Successful ,
383
387
} ,
384
388
outgoing_messages : [ ] ,
385
389
endpoint : "Endpoint1" ,
@@ -394,9 +398,12 @@ const sampleSagaHistory: SagaHistory = {
394
398
is_saga_timeout_message : true ,
395
399
originating_endpoint : "Endpoint1" ,
396
400
originating_machine : "mobvm2" ,
401
+ receiving_endpoint : "receiving endpoint" ,
397
402
time_sent : new Date ( "2025-03-28T03:04:05.37723Z" ) ,
398
403
message_type : "ServiceControl.SmokeTest.MyCustomTimeout" ,
399
404
intent : "Send" ,
405
+ body_url : "body_url" ,
406
+ message_status : MessageStatus . Successful ,
400
407
} ,
401
408
outgoing_messages : [ ] ,
402
409
endpoint : "Endpoint1" ,
@@ -411,9 +418,12 @@ const sampleSagaHistory: SagaHistory = {
411
418
is_saga_timeout_message : false ,
412
419
originating_endpoint : "Sender" ,
413
420
originating_machine : "mobvm2" ,
421
+ receiving_endpoint : "receiving endpoint" ,
414
422
time_sent : new Date ( "2025-03-28T03:04:06.293765Z" ) ,
415
423
message_type : "ServiceControl.SmokeTest.SagaMessage2" ,
416
424
intent : "Send" ,
425
+ body_url : "body_url" ,
426
+ message_status : MessageStatus . Successful ,
417
427
} ,
418
428
outgoing_messages : [
419
429
{
@@ -423,6 +433,13 @@ const sampleSagaHistory: SagaHistory = {
423
433
time_sent : new Date ( "2025-03-28T03:04:06.3214397Z" ) ,
424
434
message_type : "ServiceControl.SmokeTest.MyCustomTimeout" ,
425
435
intent : "Send" ,
436
+ deliver_at : new Date ( "2025-03-28T03:04:06.293765Z" ) ,
437
+ is_saga_timeout_message : false ,
438
+ originating_endpoint : "Sender" ,
439
+ originating_machine : "mobvm2" ,
440
+ receiving_endpoint : "receiving endpoint" ,
441
+ body_url : "body_url" ,
442
+ message_status : MessageStatus . Successful ,
426
443
} ,
427
444
] ,
428
445
endpoint : "Endpoint1" ,
@@ -437,9 +454,12 @@ const sampleSagaHistory: SagaHistory = {
437
454
is_saga_timeout_message : false ,
438
455
originating_endpoint : "Sender" ,
439
456
originating_machine : "mobvm2" ,
457
+ receiving_endpoint : "receiving endpoint" ,
440
458
time_sent : new Date ( "2025-03-28T03:04:05.235534Z" ) ,
441
459
message_type : "ServiceControl.SmokeTest.SagaMessage1" ,
442
460
intent : "Send" ,
461
+ body_url : "body_url" ,
462
+ message_status : MessageStatus . Successful ,
443
463
} ,
444
464
outgoing_messages : [
445
465
{
@@ -449,6 +469,13 @@ const sampleSagaHistory: SagaHistory = {
449
469
time_sent : new Date ( "2025-03-28T03:04:05.3715034Z" ) ,
450
470
message_type : "ServiceControl.SmokeTest.MyCustomTimeout" ,
451
471
intent : "Send" ,
472
+ deliver_at : new Date ( "2025-03-28T03:04:06.293765Z" ) ,
473
+ is_saga_timeout_message : false ,
474
+ originating_endpoint : "Sender" ,
475
+ originating_machine : "mobvm2" ,
476
+ receiving_endpoint : "receiving endpoint" ,
477
+ body_url : "body_url" ,
478
+ message_status : MessageStatus . Successful ,
452
479
} ,
453
480
] ,
454
481
endpoint : "Endpoint1" ,
0 commit comments