File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
tests/e2e/tests/web/critical-path/browser Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -155,14 +155,16 @@ test
155
155
await databaseAPIRequests . deleteStandaloneDatabaseApi ( ossStandaloneV5Config ) ;
156
156
} ) ( 'No RediSearch module message' , async t => {
157
157
const noRedisearchMessage = 'RediSearch is not available for this database' ;
158
- const externalPageLink = 'https://redis.com/try-free/?utm_source=redisinsight&utm_medium=app&utm_campaign=redisinsight_browser_search' ;
158
+ const externalPageLinkFirst = 'https://redis.com/try-free' ;
159
+ const externalPageLinkSecond = '?utm_source=redisinsight&utm_medium=app&utm_campaign=redisinsight_browser_search'
159
160
160
161
await t . click ( browserPage . redisearchModeBtn ) ;
161
162
// Verify that user can see message in the dialog when he doesn't have RediSearch module
162
163
await t . expect ( browserPage . noReadySearchDialogTitle . textContent ) . contains ( noRedisearchMessage , 'Invalid text in no redisearch popover' ) ;
163
164
// Verify that user can navigate by link to create a Redis db
164
165
await t . click ( browserPage . redisearchFreeLink ) ;
165
- await Common . checkURL ( externalPageLink ) ;
166
+ await Common . checkURLContainsText ( externalPageLinkFirst ) ;
167
+ await Common . checkURLContainsText ( externalPageLinkSecond ) ;
166
168
} ) ;
167
169
test
168
170
. before ( async ( ) => {
You can’t perform that action at this time.
0 commit comments