1
1
import { BrowserPage , MyRedisDatabasePage , WelcomePage , WorkbenchPage } from '../../../../pageObjects' ;
2
- import { ExploreTabs , rte } from '../../../../helpers/constants' ;
2
+ import { Compatibility , ExploreTabs , rte } from '../../../../helpers/constants' ;
3
3
import { DatabaseHelper } from '../../../../helpers/database' ;
4
4
import {
5
5
commonUrl ,
70
70
await t . expect ( await browserPage . InsightsPanel . existsCompatibilityPopover . textContent ) . contains ( 'time series' , 'popover is not displayed' ) ;
71
71
await t . expect ( tab . preselectArea . textContent ) . contains ( 'REDIS FOR TIME SERIES' , 'the tutorial is incorrect' ) ;
72
72
} ) ;
73
- // the test is skipped until https://redislabs.atlassian.net/browse/RI-5345 is finished
74
- test . skip
73
+
74
+ test
75
75
. before ( async t => {
76
76
await databaseAPIRequests . deleteAllDatabasesApi ( ) ;
77
77
await databaseHelper . acceptLicenseTermsAndAddDatabaseApi ( ossStandaloneConfig ) ;
@@ -83,7 +83,7 @@ test.skip
83
83
const myRedisTutorial = 'Time series' ;
84
84
85
85
await t . click ( browserPage . NavigationPanel . myRedisDBButton ) ;
86
- await myRedisDatabasePage . CompatibilityPromotion . clickOnLinkByName ( myRedisTutorial ) ;
86
+ await myRedisDatabasePage . CompatibilityPromotion . clickOnLinkByName ( Compatibility . TimeSeries ) ;
87
87
await t . expect ( await myRedisDatabasePage . InsightsPanel . getActiveTabName ( ) ) . eql ( ExploreTabs . Explore ) ;
88
88
let tab = await myRedisDatabasePage . InsightsPanel . setActiveTab ( ExploreTabs . Explore ) ;
89
89
await t . expect ( tab . preselectArea . textContent ) . contains ( myRedisTutorial , 'the tutorial is incorrect' ) ;
@@ -93,7 +93,7 @@ test.skip
93
93
await myRedisDatabasePage . InsightsPanel . togglePanel ( false ) ;
94
94
await myRedisDatabasePage . deleteAllDatabases ( ) ;
95
95
96
- await welcomePage . CompatibilityPromotion . clickOnLinkByName ( welcomeTutorial ) ;
96
+ await welcomePage . CompatibilityPromotion . clickOnLinkByName ( Compatibility . Json ) ;
97
97
await t . expect ( await welcomePage . InsightsPanel . getActiveTabName ( ) ) . eql ( ExploreTabs . Explore ) ;
98
98
tab = await welcomePage . InsightsPanel . setActiveTab ( ExploreTabs . Explore ) ;
99
99
await t . expect ( tab . preselectArea . textContent ) . contains ( welcomeTutorial , 'the tutorial is incorrect' ) ;
0 commit comments