File tree 2 files changed +7
-6
lines changed
designer/client/cypress/e2e
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -36,29 +36,29 @@ describe("Editors", () => {
36
36
. find ( "[id='ace-editor']" )
37
37
. type ( "{backspace}{backspace}" ) ; //clear field
38
38
39
- // Open SpEL editor hint
39
+ // Open SpEL template editor hint
40
40
cy . get ( "[data-testid=window]" )
41
41
. contains ( / A d d i t i o n a l c l a s s / i)
42
42
. siblings ( )
43
43
. find ( "[data-testid='InfoIcon']" )
44
44
. click ( ) ;
45
45
46
46
// Wait for a tooltip rendering and positioning
47
- cy . contains ( "You are using an expression -based input" ) ;
47
+ cy . contains ( "You are using a string-template -based input" ) ;
48
48
cy . wait ( 200 ) ;
49
49
cy . get ( "[data-testid=window]" ) . matchImage ( ) ;
50
50
51
- cy . get ( "[role=tab]" ) . contains ( "string template " ) . click ( ) ;
51
+ cy . get ( "[role=tab]" ) . contains ( "expression " ) . click ( ) ;
52
52
53
- // Open SpEL template editor hint
53
+ // Open SpEL editor hint
54
54
cy . get ( "[data-testid=window]" )
55
55
. contains ( / A d d i t i o n a l c l a s s / i)
56
56
. siblings ( )
57
57
. find ( "[data-testid='InfoIcon']" )
58
58
. click ( ) ;
59
59
60
60
// Wait for a tooltip rendering and positioning
61
- cy . contains ( "You are using a string-template -based input" ) ;
61
+ cy . contains ( "You are using an expression -based input" ) ;
62
62
cy . wait ( 200 ) ;
63
63
cy . get ( "[data-testid=window]" ) . matchImage ( ) ;
64
64
} ) ;
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ describe("Fragment", () => {
200
200
cy . get ( "[data-testid=window]" ) . find ( "section" ) . scrollTo ( "bottom" ) ;
201
201
cy . get ( "[data-testid=window]" ) . find ( '[id="nk-graph-fragment"]' ) . matchImage ( ) ;
202
202
203
- cy . get ( '[title="name_string_any_with_suggestion"]' ) . siblings ( ) . eq ( 0 ) . find ( "[role=tab]" ) . contains ( "expression " ) ;
203
+ cy . get ( '[title="name_string_any_with_suggestion"]' ) . siblings ( ) . eq ( 0 ) . find ( "[role=tab]" ) . contains ( "fixed values " ) ;
204
204
cy . get ( '[title="name_string_fixed"]' ) . siblings ( ) . eq ( 0 ) . contains ( "#meta.processName" ) ;
205
205
cy . get ( '[title="name_string_fixed"]' ) . find ( '[title="Hint text test"]' ) . should ( "be.visible" ) ;
206
206
cy . get ( '[title="non_boolean_or_string"]' ) . siblings ( ) . eq ( 0 ) . contains ( "1" ) ;
@@ -298,6 +298,7 @@ describe("Fragment", () => {
298
298
299
299
// Verify existing fragment after properties change
300
300
cy . get ( "[model-id^=e2e][model-id$=fragment-test-process]" ) . should ( "be.visible" ) . trigger ( "dblclick" ) ;
301
+ cy . get ( "[data-testid=window]" ) . get ( "[title='name_value_string_any_value']" ) . get ( "[role=tab]" ) . contains ( "expression" ) . click ( ) ;
301
302
cy . get ( "[data-testid=window]" ) . get ( "[title='name_value_string_any_value']" ) . siblings ( ) . eq ( 0 ) . find ( "[id='ace-editor']" ) . type ( "test" ) ;
302
303
303
304
cy . get ( "@window" )
You can’t perform that action at this time.
0 commit comments