Skip to content

Commit 7b9da51

Browse files
db accept fix
1 parent 59921cf commit 7b9da51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ import { WorkbenchActions } from '../../../../common-actions/workbench-actions';
1212
const myRedisDatabasePage = new MyRedisDatabasePage();
1313
const workbenchPage = new WorkbenchPage();
1414
const browserPage = new BrowserPage();
15-
const { acceptLicenseTermsAndAddDatabaseApi } = new DatabaseHelper();
1615
const databaseAPIRequests = new DatabaseAPIRequests();
1716
const workbenchActions = new WorkbenchActions();
17+
const databaseHelper = new DatabaseHelper();
1818

1919
fixture `Monitor`
2020
.meta({ type: 'critical_path', rte: rte.standalone })
2121
.page(commonUrl);
2222

2323
test
2424
.before(async t => {
25-
await acceptLicenseTermsAndAddDatabaseApi(ossStandaloneConfig);
25+
await databaseHelper.acceptLicenseTermsAndAddDatabaseApi(ossStandaloneConfig);
2626
await browserPage.Cli.sendCommandInCli('acl setuser noperm nopass on +@all ~* -monitor -client');
2727
// Check command result in CLI
2828
await t.click(browserPage.Cli.cliExpandButton);

0 commit comments

Comments
 (0)