1
1
import { acceptLicenseTermsAndAddDatabaseApi } from '../../../helpers/database' ;
2
2
import { env , rte } from '../../../helpers/constants' ;
3
- import { BrowserPage , SlowLogPage , MyRedisDatabasePage } from '../../../pageObjects' ;
3
+ import { BrowserPage , MyRedisDatabasePage } from '../../../pageObjects' ;
4
4
import { commonUrl , ossStandaloneConfig } from '../../../helpers/conf' ;
5
5
import { Common } from '../../../helpers/common' ;
6
6
import { deleteAllDatabasesApi } from '../../../helpers/api/api-database' ;
7
7
8
8
const browserPage = new BrowserPage ( ) ;
9
- const slowLogPage = new SlowLogPage ( ) ;
10
9
const myRedisDatabasePage = new MyRedisDatabasePage ( ) ;
11
10
const common = new Common ( ) ;
12
11
const externalPageLink = 'https://www.surveymonkey.com/r/redisinsight' ;
@@ -21,7 +20,7 @@ fixture `User Survey`
21
20
. beforeEach ( async ( ) => {
22
21
await acceptLicenseTermsAndAddDatabaseApi ( ossStandaloneConfig , ossStandaloneConfig . databaseName ) ;
23
22
} ) ;
24
- test ( 'Verify that user can use survey link' , async t => {
23
+ test . only ( 'Verify that user can use survey link' , async t => {
25
24
// Verify that user can see survey link on any page inside of DB
26
25
// Browser page
27
26
await t . click ( browserPage . userSurveyLink ) ;
@@ -32,7 +31,7 @@ test('Verify that user can use survey link', async t => {
32
31
await t . click ( myRedisDatabasePage . workbenchButton ) ;
33
32
await t . expect ( browserPage . userSurveyLink . visible ) . ok ( 'Survey Link is not displayed' ) ;
34
33
// Slow Log page
35
- await t . click ( slowLogPage . slowLogPageButton ) ;
34
+ await t . click ( myRedisDatabasePage . analysisPageButton ) ;
36
35
await t . expect ( browserPage . userSurveyLink . visible ) . ok ( 'Survey Link is not displayed' ) ;
37
36
// PubSub page
38
37
await t . click ( myRedisDatabasePage . pubSubButton ) ;
0 commit comments