Skip to content

Commit e7b37c9

Browse files
authored
Merge pull request #2764 from RedisInsight/e2e/bugfix/RI-5122_truncate_string
e2e/bugfix/RI-5122 updates
2 parents bfd2393 + e4046eb commit e7b37c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/e2e/tests/web/critical-path/browser/large-data.e2e.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ test
103103
await t.expect(browserPage.tooltip.textContent).eql(disabledFormattersTooltip, 'Edit button tooltip contains invalid message');
104104

105105
// Verify that user can see String key value with only 5000 characters uploaded if length is more than 5000
106-
await t.expect((await browserPage.stringKeyValueInput.textContent).length).eql(stringKeyParameters.value.length, 'String key > 5000 value is fully loaded by default');
106+
// Verify that 3 dots after truncated big strings displayed
107+
await t.expect((await browserPage.stringKeyValueInput.textContent).length).eql(stringKeyParameters.value.length + 3, 'String key > 5000 value is fully loaded by default');
107108

108109
await t.click(browserPage.loadAllBtn);
109110
// Verify that user can see "Load all" button for String Key with more than 5000 characters and see full value by clicking on it

0 commit comments

Comments
 (0)