|
3 | 3 | acceptTermsAddDatabaseOrConnectToRedisStack, deleteDatabase
|
4 | 4 | } from '../../../helpers/database';
|
5 | 5 | import {
|
6 |
| - commonUrl, ossStandaloneConfig |
| 6 | + commonUrl, ossStandaloneConfig2 |
7 | 7 | } from '../../../helpers/conf';
|
8 | 8 | import { env, rte } from '../../../helpers/constants';
|
9 | 9 | import {Common} from '../../../helpers/common';
|
@@ -34,21 +34,16 @@ fixture `Onboarding new user tests`
|
34 | 34 | .meta({type: 'regression', rte: rte.standalone })
|
35 | 35 | .page(commonUrl)
|
36 | 36 | .beforeEach(async() => {
|
37 |
| - await acceptTermsAddDatabaseOrConnectToRedisStack(ossStandaloneConfig, ossStandaloneConfig.databaseName); |
| 37 | + await acceptTermsAddDatabaseOrConnectToRedisStack(ossStandaloneConfig2, ossStandaloneConfig2.databaseName); |
38 | 38 | await setLocalStorageItem('onboardingStep', '0');
|
39 | 39 | await common.reloadPage();
|
40 | 40 | })
|
41 | 41 | .afterEach(async() => {
|
42 | 42 | await cliPage.sendCommandInCli(`DEL ${indexName}`);
|
43 |
| - await deleteDatabase(ossStandaloneConfig.databaseName); |
| 43 | + await deleteDatabase(ossStandaloneConfig2.databaseName); |
44 | 44 | });
|
45 | 45 | // https://redislabs.atlassian.net/browse/RI-4070, https://redislabs.atlassian.net/browse/RI-4067
|
46 |
| -test.before(async() => { |
47 |
| - await acceptTermsAddDatabaseOrConnectToRedisStack(ossStandaloneConfig, ossStandaloneConfig.databaseName); |
48 |
| - await cliPage.sendCommandInCli('flushdb'); // to delete all indexes in order not to fail FT.INFO ${indexName} |
49 |
| - await setLocalStorageItem('onboardingStep', '0'); |
50 |
| - await common.reloadPage(); |
51 |
| -}) |
| 46 | +test |
52 | 47 | .meta({ env: env.desktop })('Verify onbarding new user steps', async t => {
|
53 | 48 | await onBoardActions.startOnboarding();
|
54 | 49 | // verify browser step is visible
|
@@ -112,7 +107,7 @@ test.before(async() => {
|
112 | 107 | // verify onboarding step completed successfully
|
113 | 108 | await onBoardActions.verifyOnboardingCompleted();
|
114 | 109 | });
|
115 |
| -// https://redislabs.atlassian.net/browse/RI-4070 |
| 110 | +// https://redislabs.atlassian.net/browse/RI-4067 |
116 | 111 | test
|
117 | 112 | .meta({ env: env.desktop })('verify onboard new user skip tour', async() => {
|
118 | 113 | // start onboarding process
|
|
0 commit comments