pixel-react 1.22.6 → 1.22.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
1
  import { ffid } from '../../utils/ffID/ffid';
3
- import Icon from '../Icon';
4
2
  export const sampleData = [
5
3
  {
6
4
  title: 'Depends on Scripts',
@@ -310,509 +308,105 @@ export const sampleData = [
310
308
  afterBreakStep: false,
311
309
  afterContinueStep: false,
312
310
  },
311
+ ],
312
+ },
313
+ ];
314
+ export const sampleData1 = [
315
+ {
316
+ stepId: 'STPe1c98999643744ebb24b5d5d23ae661c',
317
+ sequence: null,
318
+ nlpName: 'Steps',
319
+ status: 'FAIL',
320
+ container: true,
321
+ stepType: 'STEP',
322
+ issueType: 'Script Issue',
323
+ title: 'Steps',
324
+ data: [
313
325
  {
314
- name: 'Start Else If Condition',
315
- type: 'step',
316
- nlpName: 'ElseIfCondition',
317
- executionOrder: 8,
318
- nlpId: 'NLP1395',
319
- passMessage: 'Condition is true',
320
- failMessage: 'Condition is false',
321
- skip: false,
322
- returnType: 'void',
323
- platform: 'Common',
324
- searchName: 'Start Else If Condition',
325
- displayName: 'Start Else If Condition',
326
- actualFailedResult: 'N/A',
327
- defaultDisplayName: 'Start Else If Condition',
328
- stepId: 'STP21359M2D13H10M49S52M672R66',
329
- toolTip: 'Start Else If Condition',
330
- defaultToolTip: 'Start Else If Condition',
331
- hierarchy: 0,
332
- isSpecialNlp: true,
333
- parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
334
- marginLeft: 8,
335
- dataProviderVariables: [],
336
- conditionId: 'CON772213104952673',
337
- conditionSearchKey: 'CON699213103842424/CON772213104952673',
338
- mustExecute: false,
339
- isForLoopStep: true,
340
- imported: false,
341
- isDisabled: false,
342
- isStepGroupStep: false,
343
- isJDBCStep: false,
344
- afterBreakStep: false,
345
- afterContinueStep: false,
346
- },
347
- {
348
- name: 'Wait for 3 seconds',
349
- type: 'step',
350
- nlpName: 'Sleep',
351
- executionOrder: 9,
352
- nlpId: 'NLP1008',
353
- passMessage: 'Completed wait for *seconds* seconds',
354
- failMessage: 'Failed to wait for *seconds* seconds',
355
- skip: false,
356
- returnType: 'void',
357
- platform: 'Web',
358
- searchName: 'Wait for *seconds* seconds',
359
- displayName: 'Wait for 3 seconds',
360
- actualFailedResult: 'Failed to wait for *seconds* seconds',
361
- defaultDisplayName: 'Wait for *seconds* seconds',
362
- stepId: 'STP54943M2D13H10M49S59M988R27',
363
- toolTip: 'Wait for 3 seconds',
364
- defaultToolTip: 'Wait for *seconds* seconds',
365
- hierarchy: 0,
366
- parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
367
- marginLeft: 16,
368
- dataProviderVariables: [],
369
- conditionId: 'CON772213104952673',
370
- conditionSearchKey: 'CON699213103842424/CON772213104952673',
371
- mustExecute: false,
372
- isForLoopStep: true,
373
- displayOrder: '3',
374
- imported: false,
375
- isDisabled: false,
376
- isStepGroupStep: false,
377
- isJDBCStep: false,
378
- afterBreakStep: false,
379
- afterContinueStep: false,
380
- },
381
- {
382
- name: 'Press Shift key',
383
- type: 'step',
384
- nlpName: 'PressShiftKey',
385
- executionOrder: 10,
386
- nlpId: 'NLP1032',
387
- passMessage: 'Shift key is pressed',
388
- failMessage: 'Failed to press Shift key',
389
- skip: false,
390
- returnType: 'void',
391
- platform: 'Web',
392
- searchName: 'Keyboard : Press Shift key',
393
- displayName: 'Press Shift key',
394
- actualFailedResult: 'N/A',
395
- defaultDisplayName: 'Press Shift key',
396
- stepId: 'STP13892M2D13H10M50S8M594R29',
397
- toolTip: 'Press Shift key',
398
- defaultToolTip: 'Press Shift key',
399
- hierarchy: 0,
400
- parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
401
- marginLeft: 16,
402
- dataProviderVariables: [],
403
- conditionId: 'CON772213104952673',
404
- conditionSearchKey: 'CON699213103842424/CON772213104952673',
405
- mustExecute: false,
406
- isForLoopStep: true,
407
- displayOrder: '4',
408
- imported: false,
409
- isDisabled: false,
410
- isStepGroupStep: false,
411
- isJDBCStep: false,
412
- afterBreakStep: false,
413
- afterContinueStep: false,
414
- },
415
- {
416
- name: 'Press ArrowLeft key',
417
- type: 'step',
418
- nlpName: 'PressArrowLeft',
419
- executionOrder: 11,
420
- nlpId: 'NLP1024',
421
- passMessage: 'ArrowLeft key is pressed',
422
- failMessage: 'Failed to press ArrowLeft key',
423
- skip: false,
424
- returnType: 'void',
425
- platform: 'Web',
426
- searchName: 'Keyboard : Press ArrowLeft key',
427
- displayName: 'Press ArrowLeft key',
428
- actualFailedResult: 'N/A',
429
- defaultDisplayName: 'Press ArrowLeft key',
430
- stepId: 'STP77044M2D13H10M50S15M522R30',
431
- toolTip: 'Press ArrowLeft key',
432
- defaultToolTip: 'Press ArrowLeft key',
433
- hierarchy: 0,
434
- parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
435
- marginLeft: 16,
436
- dataProviderVariables: [],
437
- conditionId: 'CON772213104952673',
438
- conditionSearchKey: 'CON699213103842424/CON772213104952673',
439
- mustExecute: false,
440
- isForLoopStep: true,
441
- displayOrder: '5',
442
- imported: false,
443
- isDisabled: false,
444
- isStepGroupStep: false,
445
- isJDBCStep: false,
446
- afterBreakStep: false,
447
- afterContinueStep: false,
448
- },
449
- {
450
- name: 'End Else If Condition',
451
- type: 'step',
452
- nlpName: 'EndElseIfCondition',
453
- executionOrder: 12,
454
- nlpId: 'NLP1399',
455
- passMessage: 'End Else If Condition passed',
456
- failMessage: 'End Else If Condition failed',
457
- stepInputs: [],
458
- skip: false,
459
- returnType: 'void',
460
- nlpType: 'NLP',
461
- platform: 'Common',
462
- packageName: 'com.tyss.optimize.nlp.Nlp',
463
- searchName: 'End Else If Condition',
464
- displayName: 'End Else If Condition',
465
- description: 'This NLP is used to end else if condition',
466
- actualFailedResult: 'N/A',
467
- defaultDisplayName: 'End Else If Condition',
468
- stepId: 'STP19326M2D13H10M49S52M673R38',
469
- toolTip: 'End Else If Condition',
470
- hierarchy: 0,
471
- isSpecialNlp: true,
472
- parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
473
- marginLeft: 8,
474
- conditionId: 'CON772213104952673',
475
- conditionSearchKey: 'CON699213103842424/CON772213104952673',
476
- mustExecute: false,
477
- imported: false,
478
- isStepGroupStep: false,
479
- isJDBCStep: false,
480
- afterBreakStep: false,
481
- afterContinueStep: false,
482
- },
483
- {
484
- name: 'Start Else If Condition',
485
- type: 'step',
486
- nlpName: 'ElseIfCondition',
487
- executionOrder: 13,
488
- nlpId: 'NLP1395',
489
- passMessage: 'Condition is true',
490
- failMessage: 'Condition is false',
491
- skip: false,
492
- returnType: 'void',
493
- platform: 'Common',
494
- searchName: 'Start Else If Condition',
495
- displayName: 'Start Else If Condition',
496
- actualFailedResult: 'N/A',
497
- defaultDisplayName: 'Start Else If Condition',
498
- stepId: 'STP2568M2D13H10M50S50M669R57',
499
- toolTip: 'Start Else If Condition',
500
- defaultToolTip: 'Start Else If Condition',
501
- hierarchy: 0,
502
- isSpecialNlp: true,
503
- parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
504
- marginLeft: 8,
505
- dataProviderVariables: [],
506
- conditionId: 'CON204213105050670',
507
- conditionSearchKey: 'CON699213103842424/CON772213104952673/CON204213105050670',
508
- mustExecute: false,
509
- isForLoopStep: true,
510
- imported: false,
511
- isDisabled: false,
512
- isStepGroupStep: false,
513
- isJDBCStep: false,
514
- afterBreakStep: false,
515
- afterContinueStep: false,
516
- },
517
- {
518
- name: 'Wait for 3 seconds',
519
- type: 'step',
520
- nlpName: 'Sleep',
521
- executionOrder: 14,
522
- nlpId: 'NLP1008',
523
- passMessage: 'Completed wait for *seconds* seconds',
524
- failMessage: 'Failed to wait for *seconds* seconds',
525
- skip: false,
526
- returnType: 'void',
527
- platform: 'Web',
528
- searchName: 'Wait for *seconds* seconds',
529
- displayName: 'Wait for 3 seconds',
530
- actualFailedResult: 'Failed to wait for *seconds* seconds',
531
- defaultDisplayName: 'Wait for *seconds* seconds',
532
- stepId: 'STP3736M2D13H10M50S58M320R52',
533
- toolTip: 'Wait for 3 seconds',
534
- defaultToolTip: 'Wait for *seconds* seconds',
535
- hierarchy: 0,
536
- parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
537
- marginLeft: 16,
538
- dataProviderVariables: [],
539
- conditionId: 'CON204213105050670',
540
- conditionSearchKey: 'CON699213103842424/CON772213104952673/CON204213105050670',
541
- mustExecute: false,
542
- isForLoopStep: true,
543
- displayOrder: '6',
544
- imported: false,
545
- isDisabled: false,
546
- isStepGroupStep: false,
547
- isJDBCStep: false,
548
- afterBreakStep: false,
549
- afterContinueStep: false,
550
- },
551
- {
552
- name: 'String : Concatenate sadfvg with wedrfgh',
553
- type: 'step',
554
- nlpName: 'ConcatString',
555
- executionOrder: 15,
556
- nlpId: 'NLP1065',
557
- passMessage: 'Concatenated *string1* with *string2*',
558
- failMessage: 'Failed to concatenate *string1* with *string2*',
559
- skip: false,
560
- returnType: 'String: returnValue',
561
- platform: 'Common',
562
- searchName: 'String : Concatenate *string1* with *string2*',
563
- displayName: 'String : Concatenate sadfvg with wedrfgh',
564
- actualFailedResult: 'N/A',
565
- defaultDisplayName: 'String : Concatenate *string1* with *string2*',
566
- stepId: 'STP80536M2D13H10M51S20M811R36',
567
- toolTip: 'String : Concatenate sadfvg with wedrfgh',
568
- defaultToolTip: 'String : Concatenate *string1* with *string2*',
569
- hierarchy: 0,
570
- parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
571
- marginLeft: 16,
572
- dataProviderVariables: [],
573
- conditionId: 'CON204213105050670',
574
- conditionSearchKey: 'CON699213103842424/CON772213104952673/CON204213105050670',
575
- mustExecute: false,
576
- isForLoopStep: true,
577
- displayOrder: '7',
578
- imported: false,
579
- isDisabled: false,
580
- isStepGroupStep: false,
581
- isJDBCStep: false,
582
- afterBreakStep: false,
583
- afterContinueStep: false,
584
- },
585
- {
586
- name: 'End Else If Condition',
587
- type: 'step',
588
- nlpName: 'EndElseIfCondition',
589
- executionOrder: 16,
590
- nlpId: 'NLP1399',
591
- passMessage: 'End Else If Condition passed',
592
- failMessage: 'End Else If Condition failed',
593
- stepInputs: [],
594
- skip: false,
595
- returnType: 'void',
596
- nlpType: 'NLP',
597
- platform: 'Common',
598
- packageName: 'com.tyss.optimize.nlp.Nlp',
599
- searchName: 'End Else If Condition',
600
- displayName: 'End Else If Condition',
601
- description: 'This NLP is used to end else if condition',
602
- actualFailedResult: 'N/A',
603
- defaultDisplayName: 'End Else If Condition',
604
- stepId: 'STP54482M2D13H10M50S50M670R96',
605
- toolTip: 'End Else If Condition',
606
- hierarchy: 0,
607
- isSpecialNlp: true,
608
- parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
609
- marginLeft: 8,
610
- conditionId: 'CON204213105050670',
611
- conditionSearchKey: 'CON699213103842424/CON772213104952673/CON204213105050670',
612
- mustExecute: false,
613
- imported: false,
614
- isStepGroupStep: false,
615
- isJDBCStep: false,
616
- afterBreakStep: false,
617
- afterContinueStep: false,
326
+ stepId: 'STP49550M8D15H15M42S1M264R94',
327
+ sequence: '1',
328
+ name: 'Open Browser',
329
+ status: 'PASS',
330
+ container: true,
331
+ stepType: 'StepGroup',
332
+ steps: [
333
+ {
334
+ stepId: 'STP100111111',
335
+ sequence: '1.1',
336
+ nlpName: 'CreateCapabilitiesInstance',
337
+ status: 'PASS',
338
+ container: false,
339
+ },
340
+ {
341
+ stepId: 'STP1001222222',
342
+ sequence: '1.2',
343
+ nlpName: 'SetBrowserName',
344
+ status: 'PASS',
345
+ container: false,
346
+ },
347
+ {
348
+ stepId: 'STP1001333333',
349
+ sequence: '1.3',
350
+ nlpName: 'OpenBrowser',
351
+ status: 'PASS',
352
+ container: false,
353
+ },
354
+ ],
355
+ },
356
+ {
357
+ stepId: 'STP49728M8D15H15M42S11M820R61',
358
+ sequence: '2',
359
+ name: 'Close Browser',
360
+ status: 'PASS',
361
+ container: true,
362
+ stepType: 'StepGroup',
363
+ steps: [
364
+ {
365
+ stepId: 'STP901002135',
366
+ sequence: '2.1',
367
+ nlpName: 'CloseBrowser',
368
+ status: 'PASS',
369
+ container: false,
370
+ },
371
+ ],
372
+ },
373
+ {
374
+ stepId: 'STP84216M8D15H15M42S35M813R87',
375
+ sequence: '3',
376
+ nlpName: 'NavigateToURL',
377
+ name: 'Navigate to URL',
378
+ type: 'group',
379
+ status: 'FAIL',
380
+ container: false,
381
+ issueType: 'Script Issue',
618
382
  },
619
383
  {
620
- name: 'Start Else If Condition',
621
- type: 'step',
622
- nlpName: 'ElseIfCondition',
623
- executionOrder: 17,
624
- nlpId: 'NLP1395',
625
- passMessage: 'Condition is true',
626
- failMessage: 'Condition is false',
384
+ name: 'Start for loop',
385
+ type: '_startforloop',
386
+ nlpName: 'StartForLoop',
387
+ executionOrder: 4,
388
+ nlpId: 'NLP1810',
389
+ passMessage: 'Start for loop is passed',
390
+ failMessage: 'Start for loop is failed',
627
391
  skip: false,
628
392
  returnType: 'void',
629
393
  platform: 'Common',
630
- searchName: 'Start Else If Condition',
631
- displayName: 'Start Else If Condition',
394
+ searchName: 'Start for loop',
395
+ displayName: 'Start for loop',
632
396
  actualFailedResult: 'N/A',
633
- defaultDisplayName: 'Start Else If Condition',
634
- stepId: 'STP60330M2D13H10M51S41M88R90',
635
- toolTip: 'Start Else If Condition',
636
- defaultToolTip: 'Start Else If Condition',
397
+ defaultDisplayName: 'Start for loop',
398
+ stepId: 'STP31614M2D13H10M48S34M815R26',
399
+ toolTip: 'Start for loop',
400
+ defaultToolTip: 'Start for loop',
637
401
  hierarchy: 0,
402
+ specialNlpId: 'forloop_548248f0-c7d9-4ff6-bee0-9b92e74e3c7e',
638
403
  isSpecialNlp: true,
639
404
  parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
640
- marginLeft: 8,
641
- dataProviderVariables: [],
642
- conditionId: 'CON68121310514188',
643
- conditionSearchKey: 'CON699213103842424/CON772213104952673/CON204213105050670/CON68121310514188',
644
- mustExecute: false,
645
- isForLoopStep: true,
646
- imported: false,
647
- isDisabled: false,
648
- isStepGroupStep: false,
649
- isJDBCStep: false,
650
- afterBreakStep: false,
651
- afterContinueStep: false,
652
- },
653
- {
654
- name: 'Press Shift key',
655
- type: 'step',
656
- nlpName: 'PressShiftKey',
657
- executionOrder: 18,
658
- nlpId: 'NLP1032',
659
- passMessage: 'Shift key is pressed',
660
- failMessage: 'Failed to press Shift key',
661
- skip: false,
662
- returnType: 'void',
663
- platform: 'Web',
664
- searchName: 'Keyboard : Press Shift key',
665
- displayName: 'Press Shift key',
666
- actualFailedResult: 'N/A',
667
- defaultDisplayName: 'Press Shift key',
668
- stepId: 'STP98471M2D13H10M52S8M506R12',
669
- toolTip: 'Press Shift key',
670
- defaultToolTip: 'Press Shift key',
671
- hierarchy: 0,
672
- parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
673
- marginLeft: 16,
674
- dataProviderVariables: [],
675
- conditionId: 'CON68121310514188',
676
- conditionSearchKey: 'CON699213103842424/CON772213104952673/CON204213105050670/CON68121310514188',
677
- mustExecute: false,
678
- isForLoopStep: true,
679
- displayOrder: '8',
680
- imported: false,
681
- isDisabled: false,
682
- isStepGroupStep: false,
683
- isJDBCStep: false,
684
- afterBreakStep: false,
685
- afterContinueStep: false,
686
- },
687
- {
688
- name: 'Wait for 3 seconds',
689
- type: 'step',
690
- nlpName: 'Sleep',
691
- executionOrder: 19,
692
- nlpId: 'NLP1008',
693
- passMessage: 'Completed wait for *seconds* seconds',
694
- failMessage: 'Failed to wait for *seconds* seconds',
695
- skip: false,
696
- returnType: 'void',
697
- platform: 'Web',
698
- searchName: 'Wait for *seconds* seconds',
699
- displayName: 'Wait for 3 seconds',
700
- actualFailedResult: 'Failed to wait for *seconds* seconds',
701
- defaultDisplayName: 'Wait for *seconds* seconds',
702
- stepId: 'STP658M2D13H10M52S29M761R84',
703
- toolTip: 'Wait for 3 seconds',
704
- defaultToolTip: 'Wait for *seconds* seconds',
705
- hierarchy: 0,
706
- parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
707
- marginLeft: 16,
708
- dataProviderVariables: [],
709
- conditionId: 'CON68121310514188',
710
- conditionSearchKey: 'CON699213103842424/CON772213104952673/CON204213105050670/CON68121310514188',
711
- mustExecute: false,
712
- isForLoopStep: true,
713
- displayOrder: '9',
714
- imported: false,
715
- isDisabled: false,
716
- isStepGroupStep: false,
717
- isJDBCStep: false,
718
- afterBreakStep: false,
719
- afterContinueStep: false,
720
- },
721
- {
722
- name: 'Print Value of 3',
723
- type: 'step',
724
- nlpName: 'PrintValue',
725
- executionOrder: 20,
726
- nlpId: 'NLP1258',
727
- passMessage: 'Value of *input* is *returnValue*',
728
- failMessage: 'Failed to print value of *input*',
729
- skip: false,
730
- returnType: 'void',
731
- platform: 'Common',
732
- searchName: 'Print Value',
733
- displayName: 'Print Value of 3',
734
- actualFailedResult: 'N/A',
735
- defaultDisplayName: 'Print Value of *input*',
736
- stepId: 'STP12838M2D13H10M52S42M184R57',
737
- toolTip: 'Print Value of 3',
738
- defaultToolTip: 'Print Value of *input*',
739
- hierarchy: 0,
740
- parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
741
405
  marginLeft: 16,
742
406
  dataProviderVariables: [],
743
- conditionId: 'CON68121310514188',
744
- conditionSearchKey: 'CON699213103842424/CON772213104952673/CON204213105050670/CON68121310514188',
745
- mustExecute: false,
746
- isForLoopStep: true,
747
- displayOrder: '10',
748
- imported: false,
749
- isDisabled: false,
750
- isStepGroupStep: false,
751
- isJDBCStep: false,
752
- afterBreakStep: false,
753
- afterContinueStep: false,
754
- },
755
- {
756
- name: 'End Else If Condition',
757
- type: 'step',
758
- nlpName: 'EndElseIfCondition',
759
- executionOrder: 21,
760
- nlpId: 'NLP1399',
761
- passMessage: 'End Else If Condition passed',
762
- failMessage: 'End Else If Condition failed',
763
- stepInputs: [],
764
- skip: false,
765
- returnType: 'void',
766
- nlpType: 'NLP',
767
- platform: 'Common',
768
- packageName: 'com.tyss.optimize.nlp.Nlp',
769
- searchName: 'End Else If Condition',
770
- displayName: 'End Else If Condition',
771
- description: 'This NLP is used to end else if condition',
772
- actualFailedResult: 'N/A',
773
- defaultDisplayName: 'End Else If Condition',
774
- stepId: 'STP79063M2D13H10M51S41M88R54',
775
- toolTip: 'End Else If Condition',
776
- hierarchy: 0,
777
- isSpecialNlp: true,
778
- parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
779
- marginLeft: 8,
780
- conditionId: 'CON68121310514188',
781
- conditionSearchKey: 'CON699213103842424/CON772213104952673/CON204213105050670/CON68121310514188',
782
- mustExecute: false,
783
- imported: false,
784
- isStepGroupStep: false,
785
- isJDBCStep: false,
786
- afterBreakStep: false,
787
- afterContinueStep: false,
788
- },
789
- {
790
- name: 'Start Else If Condition',
791
- type: 'step',
792
- nlpName: 'ElseIfCondition',
793
- executionOrder: 22,
794
- nlpId: 'NLP1395',
795
- passMessage: 'Condition is true',
796
- failMessage: 'Condition is false',
797
- skip: false,
798
- returnType: 'void',
799
- platform: 'Common',
800
- searchName: 'Start Else If Condition',
801
- displayName: 'Start Else If Condition',
802
- actualFailedResult: 'N/A',
803
- defaultDisplayName: 'Start Else If Condition',
804
- stepId: 'STP86004M2D13H10M53S16M113R73',
805
- toolTip: 'Start Else If Condition',
806
- defaultToolTip: 'Start Else If Condition',
807
- hierarchy: 0,
808
- isSpecialNlp: true,
809
- parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
810
- marginLeft: 8,
811
- dataProviderVariables: [],
812
- conditionId: 'CON720213105316113',
813
- conditionSearchKey: 'CON699213103842424/CON772213104952673/CON204213105050670/CON68121310514188/CON720213105316113',
407
+ conditionId: 'CON699213103842424',
408
+ conditionSearchKey: 'CON699213103842424',
814
409
  mustExecute: false,
815
- isForLoopStep: true,
816
410
  imported: false,
817
411
  isDisabled: false,
818
412
  isStepGroupStep: false,
@@ -824,7 +418,7 @@ export const sampleData = [
824
418
  name: 'Navigate to URL https://www.myntra.com/',
825
419
  type: 'step',
826
420
  nlpName: 'NavigateToURL',
827
- executionOrder: 23,
421
+ executionOrder: 5,
828
422
  nlpId: 'NLP1099',
829
423
  passMessage: 'Navigated to URL *url*',
830
424
  failMessage: 'Failed to navigate to URL *url*',
@@ -835,50 +429,18 @@ export const sampleData = [
835
429
  displayName: 'Navigate to URL https://www.myntra.com/',
836
430
  actualFailedResult: 'N/A',
837
431
  defaultDisplayName: 'Navigate to URL *url*',
838
- stepId: 'STP73942M2D13H10M54S4M105R17',
432
+ stepId: 'STP71414M2D13H10M49S24M219R46',
839
433
  toolTip: 'Navigate to URL https://www.myntra.com/',
840
434
  defaultToolTip: 'Navigate to URL *url*',
841
435
  hierarchy: 0,
842
- marginLeft: 16,
843
- dataProviderVariables: [],
844
- conditionId: 'CON720213105316113',
845
- conditionSearchKey: 'CON699213103842424/CON772213104952673/CON204213105050670/CON68121310514188/CON720213105316113',
846
- mustExecute: false,
847
- isForLoopStep: true,
848
- displayOrder: '11',
849
- imported: false,
850
- isDisabled: false,
851
- isStepGroupStep: false,
852
- isJDBCStep: false,
853
- afterBreakStep: false,
854
- afterContinueStep: false,
855
- },
856
- {
857
- name: 'Press ArrowLeft key',
858
- type: 'step',
859
- nlpName: 'PressArrowLeft',
860
- executionOrder: 24,
861
- nlpId: 'NLP1024',
862
- passMessage: 'ArrowLeft key is pressed',
863
- failMessage: 'Failed to press ArrowLeft key',
864
- skip: false,
865
- returnType: 'void',
866
- platform: 'Web',
867
- searchName: 'Keyboard : Press ArrowLeft key',
868
- displayName: 'Press ArrowLeft key',
869
- actualFailedResult: 'N/A',
870
- defaultDisplayName: 'Press ArrowLeft key',
871
- stepId: 'STP14942M2D13H10M54S10M962R91',
872
- toolTip: 'Press ArrowLeft key',
873
- defaultToolTip: 'Press ArrowLeft key',
874
- hierarchy: 0,
875
- marginLeft: 16,
436
+ parentSpecialNlpId: 'forloop_548248f0-c7d9-4ff6-bee0-9b92e74e3c7e',
437
+ marginLeft: 24,
876
438
  dataProviderVariables: [],
877
- conditionId: 'CON720213105316113',
878
- conditionSearchKey: 'CON699213103842424/CON772213104952673/CON204213105050670/CON68121310514188/CON720213105316113',
439
+ conditionId: 'CON699213103842424',
440
+ conditionSearchKey: 'CON699213103842424',
879
441
  mustExecute: false,
880
442
  isForLoopStep: true,
881
- displayOrder: '12',
443
+ displayOrder: '2',
882
444
  imported: false,
883
445
  isDisabled: false,
884
446
  isStepGroupStep: false,
@@ -887,129 +449,65 @@ export const sampleData = [
887
449
  afterContinueStep: false,
888
450
  },
889
451
  {
890
- name: 'Press Shift key',
891
- type: 'step',
892
- nlpName: 'PressShiftKey',
893
- executionOrder: 25,
894
- nlpId: 'NLP1032',
895
- passMessage: 'Shift key is pressed',
896
- failMessage: 'Failed to press Shift key',
452
+ name: 'End for loop',
453
+ type: '_endforloop',
454
+ nlpName: 'EndForLoop',
455
+ executionOrder: 6,
456
+ nlpId: 'NLP1702',
457
+ passMessage: 'End for loop passed',
458
+ failMessage: 'End for loop failed',
459
+ stepInputs: [],
897
460
  skip: false,
898
- returnType: 'void',
461
+ returnType: 'Void',
462
+ nlpType: 'NLP',
899
463
  platform: 'Web',
900
- searchName: 'Keyboard : Press Shift key',
901
- displayName: 'Press Shift key',
902
- actualFailedResult: 'N/A',
903
- defaultDisplayName: 'Press Shift key',
904
- stepId: 'STP86748M2D13H10M54S16M800R6',
905
- toolTip: 'Press Shift key',
906
- defaultToolTip: 'Press Shift key',
464
+ searchName: 'End for loop',
465
+ displayName: 'End for loop',
466
+ description: 'This NLP is used to end for loop',
467
+ defaultDisplayName: 'End for loop',
468
+ stepId: 'STP47099M2D13H10M48S34M815R66',
469
+ toolTip: 'End for loop',
907
470
  hierarchy: 0,
471
+ specialNlpId: 'forloop_548248f0-c7d9-4ff6-bee0-9b92e74e3c7e',
472
+ isSpecialNlp: true,
473
+ parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
908
474
  marginLeft: 16,
909
- dataProviderVariables: [],
910
- conditionId: 'CON720213105316113',
911
- conditionSearchKey: 'CON699213103842424/CON772213104952673/CON204213105050670/CON68121310514188/CON720213105316113',
475
+ conditionId: 'CON699213103842424',
476
+ conditionSearchKey: 'CON699213103842424',
912
477
  mustExecute: false,
913
- isForLoopStep: true,
914
- displayOrder: '13',
915
478
  imported: false,
916
- isDisabled: false,
917
479
  isStepGroupStep: false,
918
480
  isJDBCStep: false,
919
481
  afterBreakStep: false,
920
482
  afterContinueStep: false,
921
483
  },
922
484
  {
923
- name: 'End Else If Condition',
485
+ name: 'End If Condition',
924
486
  type: 'step',
925
- nlpName: 'EndElseIfCondition',
926
- executionOrder: 26,
927
- nlpId: 'NLP1399',
928
- passMessage: 'End Else If Condition passed',
929
- failMessage: 'End Else If Condition failed',
487
+ nlpName: 'EndIfCondition',
488
+ executionOrder: 7,
489
+ nlpId: 'NLP1405',
490
+ passMessage: 'End If Condition passed',
491
+ failMessage: 'End If Condition failed',
930
492
  stepInputs: [],
931
493
  skip: false,
932
494
  returnType: 'void',
933
495
  nlpType: 'NLP',
934
496
  platform: 'Common',
935
497
  packageName: 'com.tyss.optimize.nlp.Nlp',
936
- searchName: 'End Else If Condition',
937
- displayName: 'End Else If Condition',
938
- description: 'This NLP is used to end else if condition',
498
+ searchName: 'End If Condition',
499
+ displayName: 'End If Condition',
500
+ description: 'This NLP is used to end if condition',
939
501
  actualFailedResult: 'N/A',
940
- defaultDisplayName: 'End Else If Condition',
941
- stepId: 'STP64752M2D13H10M53S16M113R86',
942
- toolTip: 'End Else If Condition',
502
+ defaultDisplayName: 'End If Condition',
503
+ stepId: 'STP443M2D13H10M38S42M424R64',
504
+ toolTip: 'End If Condition',
943
505
  hierarchy: 0,
944
506
  isSpecialNlp: true,
945
507
  parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
946
508
  marginLeft: 8,
947
- conditionId: 'CON720213105316113',
948
- conditionSearchKey: 'CON699213103842424/CON772213104952673/CON204213105050670/CON68121310514188/CON720213105316113',
949
- mustExecute: false,
950
- imported: false,
951
- isStepGroupStep: false,
952
- isJDBCStep: false,
953
- afterBreakStep: false,
954
- afterContinueStep: false,
955
- },
956
- {
957
- name: 'Get all broken links',
958
- type: 'step',
959
- nlpName: 'GetAllBrokenLinks',
960
- executionOrder: 27,
961
- nlpId: 'NLP1048',
962
- passMessage: 'Broken links are *returnValue*',
963
- failMessage: 'Failed to fetch all broken links',
964
- skip: false,
965
- returnType: 'List<String>',
966
- platform: 'Web',
967
- searchName: 'Get all broken links',
968
- displayName: 'Get all broken links',
969
- actualFailedResult: 'N/A',
970
- defaultDisplayName: 'Get all broken links',
971
- stepId: 'STP38577M2D13H10M55S1M284R46',
972
- toolTip: 'Get all broken links',
973
- defaultToolTip: 'Get all broken links',
974
- hierarchy: 0,
975
- parentSpecialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
976
- marginLeft: 8,
977
- dataProviderVariables: [],
978
- conditionId: 'CON68121310514188',
979
- conditionSearchKey: 'CON699213103842424/CON772213104952673/CON204213105050670/CON68121310514188',
980
- mustExecute: false,
981
- isForLoopStep: true,
982
- displayOrder: '14',
983
- imported: false,
984
- isDisabled: false,
985
- isStepGroupStep: false,
986
- isJDBCStep: false,
987
- afterBreakStep: false,
988
- afterContinueStep: false,
989
- },
990
- {
991
- name: 'End for loop',
992
- type: '_endforloop',
993
- nlpName: 'EndForLoop',
994
- executionOrder: 28,
995
- nlpId: 'NLP1702',
996
- passMessage: 'End for loop passed',
997
- failMessage: 'End for loop failed',
998
- stepInputs: [],
999
- skip: false,
1000
- returnType: 'Void',
1001
- nlpType: 'NLP',
1002
- platform: 'Web',
1003
- searchName: 'End for loop',
1004
- displayName: 'End for loop',
1005
- description: 'This NLP is used to end for loop',
1006
- defaultDisplayName: 'End for loop',
1007
- stepId: 'STP82202M2D13H10M37S33M981R22',
1008
- toolTip: 'End for loop',
1009
- hierarchy: 0,
1010
- specialNlpId: 'forloop_d5a18760-eb7a-42d9-b17d-658815b94ca1',
1011
- isSpecialNlp: true,
1012
- marginLeft: 0,
509
+ conditionId: 'CON699213103842424',
510
+ conditionSearchKey: 'CON699213103842424',
1013
511
  mustExecute: false,
1014
512
  imported: false,
1015
513
  isStepGroupStep: false,
@@ -1018,40 +516,52 @@ export const sampleData = [
1018
516
  afterContinueStep: false,
1019
517
  },
1020
518
  ],
1021
- metaData: {
1022
- total: 10,
1023
- totalPassed: 6,
1024
- totalFailed: 1,
1025
- totalWarning: 0,
1026
- totalSkipped: 0,
1027
- totalTerminated: 0,
1028
- totalAborted: 0,
1029
- totalNA: 3,
1030
- totalPartiallyExecuted: 0,
1031
- totalNonCascadedPreConditionFailed: 0,
1032
- totalNonCascadedPostConditionFailed: 0,
1033
- totalNonCascadedPreConditionWarning: 0,
1034
- totalNonCascadedPostConditionWarning: 0,
1035
- executionDuration: 80129,
1036
- executionDurationInHourMinSecFormat: '00:01:20:129',
1037
- message: 'One or more steps are failed',
1038
- status: 'FAIL',
1039
- },
1040
- actionCell: () => {
1041
- return (_jsxs("div", { style: { display: 'flex', justifyContent: 'space-around' }, children: [_jsx(Icon, { name: "no_access_icon" }), _jsx(Icon, { name: "step_group" }), _jsx(Icon, { name: "delete" })] }));
1042
- },
1043
519
  },
520
+ ];
521
+ export const sampleInsights = [
1044
522
  {
1045
- title: 'Post Conditions',
1046
- data: [
1047
- {
1048
- stepId: ffid(),
1049
- name: 'close browser',
1050
- modifiedBy: 'Krishna',
1051
- suiteName: 'test 2',
1052
- type: 'POST',
1053
- },
523
+ iconName: 'root_cause_icon',
524
+ title: 'Root Cause',
525
+ bullets: [
526
+ 'The automation locator is outdated because the Login button identifier changed from "loginBtn" to "signInButton".',
527
+ ],
528
+ color: '#FFB4B4',
529
+ width: 774,
530
+ height: 'auto',
531
+ },
532
+ {
533
+ iconName: 'explanation_icon',
534
+ title: 'Explanation',
535
+ bullets: [
536
+ 'The application functionality is working correctly, but the automation script is attempting to locate an obsolete element.',
537
+ ],
538
+ color: '#E8AFFF',
539
+ width: 774,
540
+ height: 'auto',
541
+ },
542
+ {
543
+ iconName: 'evidence_icon',
544
+ title: 'Correlated Evidence',
545
+ bullets: [
546
+ 'Test execution logs show a NoSuchElementException.',
547
+ 'Browser DOM comparison reveals a change in the button identifier.',
548
+ 'Manual verification confirms that login functionality works successfully.',
549
+ 'Screenshot evidence shows the button label as "Sign In".',
550
+ ],
551
+ color: '#FFD79B',
552
+ width: 774,
553
+ height: 'auto',
554
+ },
555
+ {
556
+ iconName: 'suggested_action_icon',
557
+ title: 'Suggested Action',
558
+ bullets: [
559
+ 'Update the automation locator to use the new button identifier "signInButton".',
560
+ 'Re-run the affected test case to verify the fix.',
1054
561
  ],
562
+ color: '#A8E6CF',
563
+ width: 774,
564
+ height: 'auto',
1055
565
  },
1056
566
  ];
1057
567
  //# sourceMappingURL=constant.js.map