Skip to content

Commit 3a8180c

Browse files
authored
Merge pull request #175 from RedisInsight/e2e/bugfix/feature-bugfix
E2e/bugfix/feature bugfix
2 parents 6be8d16 + 8a570b4 commit 3a8180c

File tree

5 files changed

+17
-16
lines changed

5 files changed

+17
-16
lines changed

.circleci/config.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -345,14 +345,14 @@ workflows:
345345

346346
e2e-tests:
347347
jobs:
348-
# - approve:
349-
# name: Start E2E Tests
350-
# type: approval
351-
# filters:
352-
# branches:
353-
# only:
354-
# - /^e2e/feature.*/
355-
# - /^e2e/bugfix.*/
348+
- approve:
349+
name: Start E2E Tests
350+
type: approval
351+
filters:
352+
branches:
353+
only:
354+
- /^e2e/feature.*/
355+
- /^e2e/bugfix.*/
356356

357357
- linux:
358358
name: Build extension - Linux (stage)
@@ -362,6 +362,8 @@ workflows:
362362
only:
363363
- /^e2e/feature.*/
364364
- /^e2e/bugfix.*/
365+
requires:
366+
- Start E2E Tests
365367

366368
- e2e-app-image:
367369
name: E2ETest (linux)
@@ -474,7 +476,7 @@ workflows:
474476
# e2e tests on linux build
475477
- e2e-app-image:
476478
name: E2ETest (linux)
477-
parallelism: 2
479+
parallelism: 1
478480
requires:
479481
- Build extension - Linux (stage)
480482

@@ -512,7 +514,7 @@ workflows:
512514
# e2e desktop tests on linux build
513515
- e2e-app-image:
514516
name: E2ETest (Linux)
515-
parallelism: 2
517+
parallelism: 1
516518
requires:
517519
- Build extension - Linux (prod)
518520

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redis-for-vscode",
3-
"version": "0.0.3",
3+
"version": "0.0.1",
44
"displayName": "Redis for VS Code",
55
"description": "Visually interact with data and build queries in Redis",
66
"license": "SEE LICENSE IN LICENSE",

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()

tests/e2e/src/vscode.runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { VScodeScripts } from './helpers/scripts/vscodeScripts'
3131
__dirname,
3232
'..',
3333
'test-extensions',
34-
'redis.redis-for-vscode-0.0.3',
34+
'redis.redis-for-vscode-0.0.1',
3535
'dist',
3636
'redis-backend',
3737
'dist-minified',

0 commit comments

Comments
 (0)