Skip to content

Commit 70d6e4f

Browse files
authored
Merge pull request #1437 from RedisInsight/e2e/bugfix/nighly-tests-fixes
E2e/bugfix/nighly tests fixes
2 parents a415085 + 70de5ff commit 70d6e4f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

tests/e2e/pageObjects/browser-page.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export class BrowserPage {
124124
removeFromHeadSelection = Selector('#HEAD');
125125
selectedFilterTypeString = Selector('[data-testid=filter-option-type-selected-string]');
126126
filterOptionType = Selector('[data-test-subj^=filter-option-type-]');
127-
filterByKeyTypeDropDown = Selector('[data-testid=filter-option-type-default]');
127+
filterByKeyTypeDropDown = Selector('[data-testid=filter-option-type-default]', { timeout: 500 });
128128
filterOptionTypeSelected = Selector('[data-testid^=filter-option-type-selected]');
129129
consumerOption = Selector('[data-testid=consumer-option]');
130130
claimTimeOptionSelect = Selector('[data-testid=time-option-select]');
@@ -996,8 +996,7 @@ export class BrowserPage {
996996
const regExp = new RegExp(`${i} 00` + '.');
997997
await t
998998
.expect(scannedValueText).match(regExp, `The database is not automatically scanned by ${i} 000 keys`)
999-
.doubleClick(this.scanMoreButton)
1000-
.expect(this.progressKeyList.exists).ok('Progress Bar is not displayed');
999+
.click(this.scanMoreButton);
10011000
const scannedResults = Number((await this.keysNumberOfResults.textContent).replace(/\s/g, ''));
10021001
await t.expect(scannedResults).gt(rememberedScanResults);
10031002
}

tests/e2e/tests/critical-path/memory-efficiency/top-keys-table.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ test
7474
.before(async t => {
7575
await acceptLicenseTermsAndAddDatabaseApi(ossStandaloneRedisearch, ossStandaloneRedisearch.databaseName);
7676
// Create keys
77-
await populateHashWithFields('localhost', '8102', keyToAddParameters2);
77+
await populateHashWithFields(ossStandaloneRedisearch.host, ossStandaloneRedisearch.port, keyToAddParameters2);
7878
// Go to Analysis Tools page
7979
await t.click(myRedisDatabasePage.analysisPageButton);
8080
})

0 commit comments

Comments
 (0)