File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/e2e/tests/web/smoke/browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,10 +68,10 @@ test('Verify that user can add key with value to any level of JSON structure for
68
68
await browserPage . addJsonKeyOnTheSameLevel ( '"key1"' , '"value1"' ) ;
69
69
// Check the added key contains json object with added key
70
70
await t . expect ( browserPage . addJsonObjectButton . exists ) . ok ( 'The add Json object button not found' , { timeout : 10000 } ) ;
71
- await t . expect ( browserPage . jsonKeyValue . textContent ) . contains ( '{ "key1:"value1"}' , 'The json object value not found' ) ;
71
+ await t . expect ( browserPage . jsonKeyValue . textContent ) . contains ( '"key1:"value1"}' , 'The json object value not found' ) ;
72
72
// Add key with value inside the json
73
73
await browserPage . addJsonKeyOnTheSameLevel ( '"key2"' , '{}' ) ;
74
74
await browserPage . addJsonKeyInsideStructure ( '"key2222"' , '12345' ) ;
75
75
// Check the added key contains json object with added key
76
- await t . expect ( browserPage . jsonKeyValue . textContent ) . contains ( '{ key1:"value1"key2:{key2222:12345}}' , 'The json object value not found' ) ;
76
+ await t . expect ( browserPage . jsonKeyValue . textContent ) . contains ( 'key1:"value1"key2:{key2222:12345}}' , 'The json object value not found' ) ;
77
77
} ) ;
You can’t perform that action at this time.
0 commit comments