Skip to content

Commit 8de7bf1

Browse files
authored
Merge pull request #1644 from RedisInsight/e2e/bugfix/redis-package-fixes
E2e/bugfix/redis package fixes
2 parents cf75f44 + c1eae70 commit 8de7bf1

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

tests/e2e/tests/critical-path/browser/bulk-delete.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ test('Verify that user can access the bulk actions screen in the Browser', async
5656
});
5757
test('Verify that user can see summary of scanned level', async t => {
5858
const expectedAmount = new RegExp('Expected amount: ~(9|10) \\d{3} keys');
59-
const scannedKeys = new RegExp('Scanned (5|10)% \\((500|1000)/10 \\d{3}\\) and found \\d{3,5} keys');
59+
const scannedKeys = new RegExp('Scanned (5|10)% \\((500|1 000)/10 \\d{3}\\) and found \\d{3,5} keys');
6060
const messageTitle = 'No pattern or key type set';
6161
const messageText = 'To perform a bulk action, set the pattern or select the key type';
6262

tests/e2e/tests/regression/monitor/monitor.e2e.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
ossStandaloneNoPermissionsConfig
1515
} from '../../../helpers/conf';
1616
import { rte } from '../../../helpers/constants';
17-
import { addNewStandaloneDatabaseApi, deleteStandaloneDatabaseApi } from '../../../helpers/api/api-database';
17+
import { addNewStandaloneDatabaseApi, deleteStandaloneDatabaseApi, deleteStandaloneDatabasesApi } from '../../../helpers/api/api-database';
1818
import { Common } from '../../../helpers/common';
1919

2020
const myRedisDatabasePage = new MyRedisDatabasePage();
@@ -115,25 +115,27 @@ test
115115
await t.expect(previousTimestamp).notEql(nextTimestamp, 'Monitor results not correct');
116116
}
117117
});
118-
test
118+
// Skipped due to redis issue https://redislabs.atlassian.net/browse/RI-4111
119+
test.skip
119120
.before(async t => {
120121
await acceptLicenseTermsAndAddDatabaseApi(ossStandaloneConfig, ossStandaloneConfig.databaseName);
121122
await cliPage.sendCommandInCli('acl setuser noperm nopass on +@all ~* -monitor');
122123
// Check command result in CLI
123124
await t.click(cliPage.cliExpandButton);
124125
await t.expect(cliPage.cliOutputResponseSuccess.textContent).eql('"OK"', 'Command from autocomplete was not found & executed');
125126
await t.click(cliPage.cliCollapseButton);
126-
await deleteStandaloneDatabaseApi(ossStandaloneConfig);
127127
await t.click(myRedisDatabasePage.myRedisDBButton);
128128
await addNewStandaloneDatabaseApi(ossStandaloneNoPermissionsConfig);
129129
await common.reloadPage();
130130
await myRedisDatabasePage.clickOnDBByName(ossStandaloneNoPermissionsConfig.databaseName);
131131
})
132-
.after(async() => {
132+
.after(async t => {
133133
// Delete created user
134+
await t.click(myRedisDatabasePage.myRedisDBButton);
135+
await myRedisDatabasePage.clickOnDBByName(ossStandaloneConfig.databaseName);
134136
await cliPage.sendCommandInCli('acl DELUSER noperm');
135137
// Delete database
136-
await deleteStandaloneDatabaseApi(ossStandaloneNoPermissionsConfig);
138+
await deleteStandaloneDatabasesApi([ossStandaloneConfig, ossStandaloneNoPermissionsConfig]);
137139
})('Verify that if user doesn\'t have permissions to run monitor, user can see error message', async t => {
138140
// Expand the Profiler
139141
await t.click(monitorPage.expandMonitor);

0 commit comments

Comments
 (0)