Skip to content

Commit bffc01d

Browse files
author
ALENA NABOKA
committed
change slow log selector
1 parent 7c107dc commit bffc01d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/e2e/tests/regression/browser/survey-link.e2e.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import { acceptLicenseTermsAndAddDatabaseApi } from '../../../helpers/database';
22
import { env, rte } from '../../../helpers/constants';
3-
import { BrowserPage, SlowLogPage, MyRedisDatabasePage } from '../../../pageObjects';
3+
import { BrowserPage, MyRedisDatabasePage } from '../../../pageObjects';
44
import { commonUrl, ossStandaloneConfig } from '../../../helpers/conf';
55
import { Common } from '../../../helpers/common';
66
import { deleteAllDatabasesApi } from '../../../helpers/api/api-database';
77

88
const browserPage = new BrowserPage();
9-
const slowLogPage = new SlowLogPage();
109
const myRedisDatabasePage = new MyRedisDatabasePage();
1110
const common = new Common();
1211
const externalPageLink = 'https://www.surveymonkey.com/r/redisinsight';
@@ -21,7 +20,7 @@ fixture `User Survey`
2120
.beforeEach(async() => {
2221
await acceptLicenseTermsAndAddDatabaseApi(ossStandaloneConfig, ossStandaloneConfig.databaseName);
2322
});
24-
test('Verify that user can use survey link', async t => {
23+
test.only('Verify that user can use survey link', async t => {
2524
// Verify that user can see survey link on any page inside of DB
2625
// Browser page
2726
await t.click(browserPage.userSurveyLink);
@@ -32,7 +31,7 @@ test('Verify that user can use survey link', async t => {
3231
await t.click(myRedisDatabasePage.workbenchButton);
3332
await t.expect(browserPage.userSurveyLink.visible).ok('Survey Link is not displayed');
3433
// Slow Log page
35-
await t.click(slowLogPage.slowLogPageButton);
34+
await t.click(myRedisDatabasePage.analysisPageButton);
3635
await t.expect(browserPage.userSurveyLink.visible).ok('Survey Link is not displayed');
3736
// PubSub page
3837
await t.click(myRedisDatabasePage.pubSubButton);

0 commit comments

Comments
 (0)