Skip to content

Commit 86f9761

Browse files
committed
add waiters
1 parent 352f39e commit 86f9761

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

tests/e2e/src/page-objects/components/editor-view/DoubleColumnKeyDetailsView.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { By } from 'selenium-webdriver'
22
import { ButtonActions, InputActions } from '@e2eSrc/helpers/common-actions'
33
import { KeyDetailsView } from './KeyDetailsView'
4+
import { CommonDriverExtension } from '@e2eSrc/helpers'
45

56
/**
67
* Base view for all keyTypes that have 2 columns value
@@ -34,6 +35,7 @@ export class DoubleColumnKeyDetailsView extends KeyDetailsView {
3435
await ButtonActions.clickElement(editLocator)
3536
await InputActions.typeText(editorLocator, value)
3637
await ButtonActions.clickElement(this.applyButton)
38+
await CommonDriverExtension.driverSleep(300)
3739
}
3840

3941
/**
@@ -54,5 +56,6 @@ export class DoubleColumnKeyDetailsView extends KeyDetailsView {
5456
await ButtonActions.clickElement(editLocator)
5557
await InputActions.slowType(editorLocator, value)
5658
await ButtonActions.clickElement(this.applyButton)
59+
await CommonDriverExtension.driverSleep(300)
5760
}
5861
}

tests/e2e/src/tests/browser/zset-key.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,11 @@ import { InnerViews } from '@e2eSrc/page-objects/components/WebView'
2727
let keyName: string
2828

2929
describe('ZSet Key fields verification', () => {
30-
let bottomBar: BottomBar
31-
let bottomBarPanel: BottomBarPanel
3230
let keyDetailsView: SortedSetKeyDetailsView
3331
let treeView: TreeView
3432
let addSortedSetKeyView: AddSortedSetKeyView
3533

3634
before(async () => {
37-
bottomBar = new BottomBar()
38-
bottomBarPanel = new BottomBarPanel()
3935
keyDetailsView = new SortedSetKeyDetailsView()
4036
treeView = new TreeView()
4137
addSortedSetKeyView = new AddSortedSetKeyView()

0 commit comments

Comments
 (0)