@@ -13,10 +13,10 @@ const databaseAPIRequests = new DatabaseAPIRequests();
13
13
const welcomePage = new WelcomePage ( ) ;
14
14
15
15
const getPageUrl = ClientFunction ( ( ) => window . location . href ) ;
16
- const sourcePage = 'https://developer. redis.com/create/from-source/ ?utm_source=redis &utm_medium=app &utm_campaign=redisinsight ' ;
17
- const dockerPage = 'https://developer. redis.com/create/ docker/?utm_source=redis &utm_medium=app &utm_campaign=redisinsight ' ;
18
- const homebrewPage = 'https://developer. redis.com/create/homebrew/ ?utm_source=redis &utm_medium=app &utm_campaign=redisinsight ' ;
19
- 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' ;
20
20
21
21
fixture `Add database from welcome page`
22
22
. meta ( { type : 'smoke' , rte : rte . standalone } )
39
39
} ) ;
40
40
41
41
test ( 'Verify that all the links are valid from Welcome page' , async t => {
42
- // Verify build from source link
43
- await t . click ( welcomePage . buildFromSource ) ;
44
- await t . expect ( getPageUrl ( ) ) . eql ( sourcePage , 'Build from source link is not valid' ) ;
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
45
await goBackHistory ( ) ;
46
46
// Verify build from docker link
47
47
await t . click ( welcomePage . buildFromDocker ) ;
0 commit comments