Skip to content

Commit c1a015a

Browse files
fix import
1 parent 3c6e053 commit c1a015a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/e2e/tests/critical-path/database/import-databases.e2e.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as path from 'path';
22
import { rte } from '../../../helpers/constants';
33
import { BrowserPage, MyRedisDatabasePage } from '../../../pageObjects';
4-
import { commonUrl, ossStandaloneConfig } from '../../../helpers/conf';
4+
import { commonUrl } from '../../../helpers/conf';
55
import { DatabaseHelper } from '../../../helpers/database';
66
import { DatabaseAPIRequests } from '../../../helpers/api/api-database';
77
import { DatabasesActions } from '../../../common-actions/databases-actions';
@@ -84,7 +84,6 @@ fixture `Import databases`
8484
// Delete all existing connections
8585
await databaseAPIRequests.deleteAllDatabasesApi();
8686
await databaseHelper.acceptLicenseTerms();
87-
await databaseAPIRequests.addNewStandaloneDatabaseApi(ossStandaloneConfig);
8887
await myRedisDatabasePage.reloadPage();
8988
})
9089
.afterEach(async() => {
@@ -126,7 +125,7 @@ test('Connection import modal window', async t => {
126125
await t.click(myRedisDatabasePage.removeImportedFileBtn);
127126
await t.expect(myRedisDatabasePage.importDbDialog.textContent).contains(defaultText, 'File not removed from import input');
128127
});
129-
test('Connection import from JSON', async t => {
128+
test.only('Connection import from JSON', async t => {
130129
// Verify that user can import database with mandatory/optional fields
131130
await databasesActions.importDatabase(rdmData);
132131

0 commit comments

Comments
 (0)