@@ -13,7 +13,7 @@ describe('KM Editor Add Entity', () => {
13
13
14
14
cy . createKMEditor ( { kmId, name : kmName , version : '1.0.0' , previousPackageId : null } )
15
15
cy . loginAs ( 'datasteward' )
16
- cy . visitApp ( '/km-editor ' )
16
+ cy . visitApp ( '/knowledge-model-editors ' )
17
17
} )
18
18
19
19
@@ -31,7 +31,7 @@ describe('KM Editor Add Entity', () => {
31
31
editor . createChildren ( [ [ 'chapter' , chapter ] ] )
32
32
33
33
// Reopen editor again and check that the chapter is there
34
- cy . visitApp ( '/km-editor ' )
34
+ cy . visitApp ( '/knowledge-model-editors ' )
35
35
editor . open ( kmId )
36
36
editor . openChild ( chapter . title )
37
37
cy . checkFields ( chapter )
@@ -49,7 +49,7 @@ describe('KM Editor Add Entity', () => {
49
49
editor . createChildren ( [ [ 'metric' , metric ] ] )
50
50
51
51
// Reopen editor and check that the metric is there
52
- cy . visitApp ( '/km-editor ' )
52
+ cy . visitApp ( '/knowledge-model-editors ' )
53
53
editor . open ( kmId )
54
54
editor . openChild ( metric . title )
55
55
cy . checkFields ( metric )
@@ -66,7 +66,7 @@ describe('KM Editor Add Entity', () => {
66
66
editor . createChildren ( [ [ 'phase' , phase ] ] )
67
67
68
68
// Reopen editor and check that the phase is there
69
- cy . visitApp ( '/km-editor ' )
69
+ cy . visitApp ( '/knowledge-model-editors ' )
70
70
editor . open ( kmId )
71
71
editor . openChild ( phase . title )
72
72
cy . checkFields ( phase )
@@ -84,7 +84,7 @@ describe('KM Editor Add Entity', () => {
84
84
cy . getCy ( 'form-group_color_color-button' , ':nth-child(5)' ) . click ( )
85
85
86
86
// Reopen editor again and check that the tag is there
87
- cy . visitApp ( '/km-editor ' )
87
+ cy . visitApp ( '/knowledge-model-editors ' )
88
88
editor . open ( kmId )
89
89
editor . openChild ( tag . name )
90
90
cy . checkFields ( { ...tag , color : '#34495E' } )
@@ -133,7 +133,7 @@ describe('KM Editor Add Entity', () => {
133
133
editor . awaitSave ( )
134
134
135
135
// Reopen editor again and check that the integration is there
136
- cy . visitApp ( '/km-editor ' )
136
+ cy . visitApp ( '/knowledge-model-editors ' )
137
137
editor . open ( kmId )
138
138
editor . openChild ( integration . name )
139
139
checkProp ( 'name' , 1 )
@@ -153,7 +153,7 @@ describe('KM Editor Add Entity', () => {
153
153
editor . createChildren ( [ [ 'resource-collection' , resourceCollection ] ] )
154
154
155
155
// Reopen editor and check that the resource is there
156
- cy . visitApp ( '/km-editor ' )
156
+ cy . visitApp ( '/knowledge-model-editors ' )
157
157
editor . open ( kmId )
158
158
editor . openChild ( resourceCollection . title )
159
159
cy . checkFields ( resourceCollection )
@@ -195,7 +195,7 @@ describe('KM Editor Add Entity', () => {
195
195
] )
196
196
197
197
// Reopen editor again and check that the question is there
198
- cy . visitApp ( '/km-editor ' )
198
+ cy . visitApp ( '/knowledge-model-editors ' )
199
199
editor . open ( kmId )
200
200
editor . traverseChildren ( [ chapter . title , question . title ] )
201
201
cy . checkFields ( question )
@@ -234,7 +234,7 @@ describe('KM Editor Add Entity', () => {
234
234
} )
235
235
236
236
// Open editor again and check that the question is there
237
- cy . visitApp ( '/km-editor ' )
237
+ cy . visitApp ( '/knowledge-model-editors ' )
238
238
editor . open ( kmId )
239
239
editor . traverseChildren ( [ chapter . title , question . title ] )
240
240
cy . checkFields ( question )
@@ -474,7 +474,7 @@ describe('KM Editor Add Entity', () => {
474
474
editor . awaitSave ( )
475
475
476
476
// Reopen editor again and check that the answer is there
477
- cy . visitApp ( '/km-editor ' )
477
+ cy . visitApp ( '/knowledge-model-editors ' )
478
478
editor . open ( kmId )
479
479
editor . traverseChildren ( [ ...path , followUpAnswer . label ] )
480
480
cy . checkFields ( followUpAnswer )
@@ -498,7 +498,7 @@ describe('KM Editor Add Entity', () => {
498
498
] )
499
499
500
500
// Reopen editor again and check that the follow-up question is there
501
- cy . visitApp ( '/km-editor ' )
501
+ cy . visitApp ( '/knowledge-model-editors ' )
502
502
editor . open ( kmId )
503
503
editor . traverseChildren ( [ ...path , answer . label , followUpQuestion . title ] )
504
504
cy . checkFields ( followUpQuestion )
@@ -519,7 +519,7 @@ describe('KM Editor Add Entity', () => {
519
519
editor . awaitSave ( )
520
520
521
521
// Reopen editor again and check that the choice is there
522
- cy . visitApp ( '/km-editor ' )
522
+ cy . visitApp ( '/knowledge-model-editors ' )
523
523
editor . open ( kmId )
524
524
editor . traverseChildren ( [ ...path , choice . label ] )
525
525
cy . checkFields ( choice )
@@ -539,7 +539,7 @@ describe('KM Editor Add Entity', () => {
539
539
editor . createChildren ( [ ...childrenList , [ 'question' , itemQuestion ] ] )
540
540
541
541
// Reopen editor again and check that the answer item question is there
542
- cy . visitApp ( '/km-editor ' )
542
+ cy . visitApp ( '/knowledge-model-editors ' )
543
543
editor . open ( kmId )
544
544
editor . traverseChildren ( [ ...path , itemQuestion . title ] )
545
545
cy . checkFields ( itemQuestion )
@@ -557,7 +557,7 @@ describe('KM Editor Add Entity', () => {
557
557
editor . createChildren ( [ ...childrenOptions , [ 'reference' , reference ] ] )
558
558
559
559
// Reopen editor again and check that the reference is there
560
- cy . visitApp ( '/km-editor ' )
560
+ cy . visitApp ( '/knowledge-model-editors ' )
561
561
editor . open ( kmId )
562
562
editor . traverseChildren ( [ ...path , reference . label ] )
563
563
cy . checkFields ( reference )
@@ -581,14 +581,14 @@ describe('KM Editor Add Entity', () => {
581
581
cy . url ( ) . then ( ( url ) => {
582
582
const uuid = url . split ( '/' ) . pop ( )
583
583
reference . s_resourcePageUuid = uuid
584
- cy . visitApp ( '/km-editor ' )
584
+ cy . visitApp ( '/knowledge-model-editors ' )
585
585
586
586
// Add reference and its parents
587
587
editor . open ( kmId )
588
588
editor . createChildren ( [ ...childrenOptions , [ 'reference' , reference ] ] )
589
589
590
590
// Reopen editor again and check that the reference is there
591
- cy . visitApp ( '/km-editor ' )
591
+ cy . visitApp ( '/knowledge-model-editors ' )
592
592
editor . open ( kmId )
593
593
editor . traverseChildren ( [ ...path , resourcePage . title ] )
594
594
cy . checkFields ( reference )
@@ -606,7 +606,7 @@ describe('KM Editor Add Entity', () => {
606
606
editor . createChildren ( [ ...childrenList , [ 'expert' , expert ] ] )
607
607
608
608
// Reopen editor again and check that the expert is there
609
- cy . visitApp ( '/km-editor ' )
609
+ cy . visitApp ( '/knowledge-model-editors ' )
610
610
editor . open ( kmId )
611
611
editor . traverseChildren ( [ ...path , expert . name ] )
612
612
cy . checkFields ( expert )
@@ -641,7 +641,7 @@ describe('KM Editor Add Entity', () => {
641
641
editor . createChildren ( [ [ 'question' , itemSelectQuestion ] ] )
642
642
643
643
// Reopen editor again and check that the item select question is there
644
- cy . visitApp ( '/km-editor ' )
644
+ cy . visitApp ( '/knowledge-model-editors ' )
645
645
editor . open ( kmId )
646
646
editor . traverseChildren ( [ chapter . title , itemSelectQuestion . title ] )
647
647
@@ -667,7 +667,7 @@ describe('KM Editor Add Entity', () => {
667
667
editor . createChildren ( [ [ 'chapter' , chapter ] , [ 'question' , fileQuestion ] ] )
668
668
669
669
// Reopen editor again and check that the file question is there
670
- cy . visitApp ( '/km-editor ' )
670
+ cy . visitApp ( '/knowledge-model-editors ' )
671
671
editor . open ( kmId )
672
672
editor . traverseChildren ( [ chapter . title , fileQuestion . title ] )
673
673
cy . checkFields ( fileQuestion )
@@ -702,7 +702,7 @@ describe('KM Editor Add Entity', () => {
702
702
const uuid = url . split ( '/' ) . pop ( )
703
703
reference . s_resourcePageUuid = uuid
704
704
705
- cy . visitApp ( '/km-editor ' )
705
+ cy . visitApp ( '/knowledge-model-editors ' )
706
706
editor . open ( kmId )
707
707
editor . createChildren ( [
708
708
[ 'chapter' , chapter ] ,
@@ -711,7 +711,7 @@ describe('KM Editor Add Entity', () => {
711
711
] )
712
712
713
713
// Reopen editor again and check that the resource is there
714
- cy . visitApp ( '/km-editor ' )
714
+ cy . visitApp ( '/knowledge-model-editors ' )
715
715
editor . open ( kmId )
716
716
editor . traverseChildren ( [ chapter . title , question . title , resourcePage . title ] )
717
717
cy . checkFields ( reference )
0 commit comments