Skip to content

Commit a460857

Browse files
committed
fix for failure
1 parent a29643c commit a460857

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/tests/web/smoke/browser/json-key.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ test('Verify that user can add key with value to any level of JSON structure for
6868
await browserPage.addJsonKeyOnTheSameLevel('"key1"', '"value1"');
6969
// Check the added key contains json object with added key
7070
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');
7272
// Add key with value inside the json
7373
await browserPage.addJsonKeyOnTheSameLevel('"key2"', '{}');
7474
await browserPage.addJsonKeyInsideStructure('"key2222"', '12345');
7575
// 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');
7777
});

0 commit comments

Comments
 (0)