Skip to content

Commit ba61cd1

Browse files
committed
[E2E] Fix and add logging for desktop tests
1 parent 8e99e04 commit ba61cd1

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

tests/e2e/helpers/conf.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ export const cloudDatabaseConfig = {
7575
};
7676

7777
export const ossStandaloneNoPermissionsConfig = {
78-
host: process.env.OSS_STANDALONE_BIG_HOST || 'oss-standalone',
79-
port: process.env.OSS_STANDALONE_BIG_PORT || '6379',
80-
databaseName: `${process.env.OSS_STANDALONE_BIG_DATABASE_NAME || 'oss-standalone-no-permissions'}-${uniqueId}`,
81-
databaseUsername: process.env.OSS_STANDALONE_BIG_USERNAME || 'noperm',
82-
databasePassword: process.env.OSS_STANDALONE_BIG_PASSWORD
78+
host: process.env.OSS_STANDALONE_HOST || 'oss-standalone',
79+
port: process.env.OSS_STANDALONE_PORT = '6379' || '6379',
80+
databaseName: `${process.env.OSS_STANDALONE_DATABASE_NAME || 'oss-standalone-no-permissions'}-${uniqueId}`,
81+
databaseUsername: process.env.OSS_STANDALONE_USERNAME || 'noperm',
82+
databasePassword: process.env.OSS_STANDALONE_PASSWORD
8383
};

tests/e2e/tests/critical-path/a-first-start-form/autodiscovery.e2e.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ fixture `Autodiscovery`
1515
.beforeEach(async() => {
1616
await acceptLicenseTerms();
1717
})
18-
test
18+
// Marking as skipped due to the issue on Circle CI https://redislabs.atlassian.net/browse/RI-2691
19+
test.skip
1920
.meta({ env: env.desktop, rte: rte.none })
2021
.after(async() => {
2122
// Delete all auto-discovered databases

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,16 @@ test
116116
test
117117
.meta({ rte: rte.standalone })
118118
.before(async t => {
119+
console.log('Before acceptLicenseTermsAndAddDatabase function');
119120
await acceptLicenseTermsAndAddDatabase(ossStandaloneConfig, ossStandaloneConfig.databaseName);
121+
console.log('After acceptLicenseTermsAndAddDatabase function');
120122
await cliPage.sendCommandInCli('acl setuser noperm nopass on +@all ~* -monitor');
121123
//Check command result in CLI
122124
await t.click(cliPage.cliExpandButton);
123125
await t.expect(cliPage.cliOutputResponseSuccess.textContent).eql('"OK"', 'Command from autocomplete was found & executed');
124126
await t.click(cliPage.cliCollapseButton);
125127
await deleteDatabase(ossStandaloneConfig.databaseName);
128+
console.log('Before addNewStandaloneDatabase function with no permissions');
126129
await addNewStandaloneDatabase(ossStandaloneNoPermissionsConfig);
127130
await myRedisDatabasePage.clickOnDBByName(ossStandaloneNoPermissionsConfig.databaseName);
128131
})

0 commit comments

Comments
 (0)