Skip to content

Commit fc135f2

Browse files
Merge pull request #3719 from RedisInsight/e2e/feature/RI-5977-rdi-statistics-and-test-connections-improve
small fix
2 parents 28d409b + 156098a commit fc135f2

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

tests/e2e/tests/web/critical-path/rdi/configuration.e2e.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,16 @@ test.after(async() => {
8080
},
8181
targets: {
8282
target: {
83-
type: 'redis',
84-
host,
85-
port,
86-
password: password
83+
connection: {
84+
type: 'redis',
85+
host,
86+
port,
87+
password: password
88+
}
8789
}
8890
}
8991
};
9092
const config = yaml.dump(configData, { indent: 2 });
91-
console.log(JSON.stringify(config));
9293

9394
await myRedisDatabasePage.setActivePage(RedisOverviewPage.Rdi);
9495
await rdiInstancesListPage.clickRdiByName(rdiInstance.name);
@@ -97,8 +98,8 @@ test.after(async() => {
9798

9899
await t.click(rdiInstancePage.configurationInput);
99100
const lines = config.split('\n');
100-
// the verable shows the level of object depth for input by line in monaco
101-
const maxLevelDepth = 3;
101+
// the variable shows the level of object depth for input by line in monaco
102+
const maxLevelDepth = 4;
102103
const targetName = 'target';
103104

104105
await rdiInstancePage.MonacoEditor.insertTextByLines(rdiInstancePage.configurationInput, lines, maxLevelDepth);

0 commit comments

Comments
 (0)