You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
})('Verify that if there are keys without namespaces, they are displayed in the root directory after all folders by default in the Tree view',asynct=>{
96
+
keyNames=[
97
+
`atest:a-${Common.generateWord(10)}`,
98
+
`atest:z-${Common.generateWord(10)}`,
99
+
`ztest:a-${Common.generateWord(10)}`,
100
+
`ztest:z-${Common.generateWord(10)}`,
101
+
`atest-${Common.generateWord(10)}`,
102
+
`ztest-${Common.generateWord(10)}`
103
+
];
104
+
constcommands=[
105
+
'flushdb',
106
+
`HSET ${keyNames[0]} field value`,
107
+
`HSET ${keyNames[1]} field value`,
108
+
`HSET ${keyNames[2]} field value`,
109
+
`SADD ${keyNames[3]} value`,
110
+
`SADD ${keyNames[4]} value`,
111
+
`HSET ${keyNames[5]} field value`
112
+
];
113
+
constexpectedSortedByASC=[
114
+
keyNames[0].split(':')[1],
115
+
keyNames[1].split(':')[1],
116
+
keyNames[2].split(':')[1],
117
+
keyNames[3].split(':')[1],
118
+
keyNames[4],
119
+
keyNames[5]
120
+
];
121
+
constexpectedSortedByDESC=[
122
+
keyNames[3].split(':')[1],
123
+
keyNames[2].split(':')[1],
124
+
keyNames[1].split(':')[1],
125
+
keyNames[0].split(':')[1],
126
+
keyNames[5],
127
+
keyNames[4]
128
+
];
129
+
130
+
// Create 5 keys
131
+
awaitbrowserPage.Cli.sendCommandsInCli(commands);
132
+
awaitt.click(browserPage.treeViewButton);
133
+
134
+
// Verify that if there are keys without namespaces, they are displayed in the root directory after all folders by default in the Tree view
0 commit comments