@@ -13,9 +13,10 @@ const databaseAPIRequests = new DatabaseAPIRequests();
13
13
const welcomePage = new WelcomePage ( ) ;
14
14
15
15
const getPageUrl = ClientFunction ( ( ) => window . location . href ) ;
16
- const dockerPage = 'https://developer.redis.com/create/docker/?utm_source=redis&utm_medium=app&utm_campaign=redisinsight' ;
17
- const homebrewPage = 'https://developer.redis.com/create/homebrew/?utm_source=redis&utm_medium=app&utm_campaign=redisinsight' ;
18
- const promoPage = 'https://redis.com/cloud/overview/?utm_source=redisinsight&utm_medium=main&utm_campaign=main' ;
16
+ const linuxPage = 'https://redis.io/docs/install/install-stack/linux/?utm_source=redisinsight&utm_medium=main&utm_campaign=linux' ;
17
+ const dockerPage = 'https://redis.io/docs/install/install-stack/docker/?utm_source=redisinsight&utm_medium=main&utm_campaign=docker' ;
18
+ const homebrewPage = 'https://redis.io/docs/install/install-stack/mac-os/?utm_source=redisinsight&utm_medium=main&utm_campaign=homebrew' ;
19
+ const promoPage = 'https://redis.com/try-free/?utm_source=redisinsight&utm_medium=main&utm_campaign=main' ;
19
20
20
21
fixture `Add database from welcome page`
21
22
. meta ( { type : 'smoke' , rte : rte . standalone } )
37
38
await t . expect ( myRedisDatabasePage . dbNameList . withExactText ( ossStandaloneConfig . databaseName ) . exists ) . ok ( 'The database not added' , { timeout : 10000 } ) ;
38
39
} ) ;
39
40
40
- test ( 'Verify that all the links are valid from Welcome page' , async t => {
41
+ test . only ( 'Verify that all the links are valid from Welcome page' , async t => {
42
+ // Verify linux link
43
+ await t . click ( welcomePage . buildFromLinux ) ;
44
+ await t . expect ( getPageUrl ( ) ) . eql ( linuxPage , 'Build for linux link is not valid' ) ;
45
+ await goBackHistory ( ) ;
41
46
// Verify build from docker link
42
47
await t . click ( welcomePage . buildFromDocker ) ;
43
48
await t . expect ( getPageUrl ( ) ) . eql ( dockerPage , 'Build from docker page is not valid' ) ;
0 commit comments