@eclipse-che/che-e2e
Advanced tools
Comparing version
@@ -53,3 +53,3 @@ "use strict"; | ||
} | ||
} | ||
}, | ||
], | ||
@@ -60,3 +60,3 @@ wsConfig.components = [ | ||
'type': 'chePlugin' | ||
} | ||
}, | ||
]; | ||
@@ -63,0 +63,0 @@ await browserTabsUtil.navigateTo(TestConstants_1.TestConstants.TS_SELENIUM_BASE_URL); |
@@ -32,11 +32,9 @@ "use strict"; | ||
const Workspaces_1 = require("../pageobjects/dashboard/Workspaces"); | ||
const WorkspaceNameHandler_1 = require("../utils/WorkspaceNameHandler"); | ||
const BrowserTabsUtil_1 = require("../utils/BrowserTabsUtil"); | ||
const __1 = require(".."); | ||
let WorkspaceHandlingTests = WorkspaceHandlingTests_1 = class WorkspaceHandlingTests { | ||
constructor(dashboard, createWorkspace, workspaces, workspaceNameHandler, browserTabsUtil) { | ||
constructor(dashboard, createWorkspace, workspaces, browserTabsUtil) { | ||
this.dashboard = dashboard; | ||
this.createWorkspace = createWorkspace; | ||
this.workspaces = workspaces; | ||
this.workspaceNameHandler = workspaceNameHandler; | ||
this.browserTabsUtil = browserTabsUtil; | ||
@@ -54,3 +52,2 @@ } | ||
await this.createWorkspace.clickOnSample(stack); | ||
// WorkspaceHandlingTests.workspaceName = await this.workspaceNameHandler.getNameFromUrl(); | ||
await this.browserTabsUtil.switchToWindow(parentGUID); | ||
@@ -89,8 +86,6 @@ WorkspaceHandlingTests_1.workspaceName = await this.dashboard.getRecentWorkspaceName(10000); | ||
__param(2, inversify_1.inject(inversify_types_1.CLASSES.Workspaces)), | ||
__param(3, inversify_1.inject(inversify_types_1.CLASSES.WorkspaceNameHandler)), | ||
__param(4, inversify_1.inject(inversify_types_1.CLASSES.BrowserTabsUtil)), | ||
__param(3, inversify_1.inject(inversify_types_1.CLASSES.BrowserTabsUtil)), | ||
__metadata("design:paramtypes", [Dashboard_1.Dashboard, | ||
CreateWorkspace_1.CreateWorkspace, | ||
Workspaces_1.Workspaces, | ||
WorkspaceNameHandler_1.WorkspaceNameHandler, | ||
BrowserTabsUtil_1.BrowserTabsUtil]) | ||
@@ -97,0 +92,0 @@ ], WorkspaceHandlingTests); |
{ | ||
"name": "@eclipse-che/che-e2e", | ||
"version": "7.45.0-dev-14d9e32", | ||
"version": "7.45.0-dev-564dd1b", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -58,5 +58,5 @@ /********************************************************************* | ||
await this.driverHelper.isVisible(By.css('#theia-main-content-panel')); | ||
return | ||
return; | ||
} | ||
throw err | ||
throw err; | ||
} | ||
@@ -63,0 +63,0 @@ return; |
@@ -62,3 +62,3 @@ /********************************************************************* | ||
} | ||
} | ||
}, | ||
], | ||
@@ -70,3 +70,3 @@ | ||
'type': 'chePlugin' | ||
} | ||
}, | ||
]; | ||
@@ -73,0 +73,0 @@ |
@@ -17,3 +17,2 @@ /********************************************************************* | ||
import { Workspaces } from '../pageobjects/dashboard/Workspaces'; | ||
import { WorkspaceNameHandler } from '../utils/WorkspaceNameHandler'; | ||
import { BrowserTabsUtil } from '../utils/BrowserTabsUtil'; | ||
@@ -35,3 +34,2 @@ import { Logger } from '..'; | ||
@inject(CLASSES.Workspaces) private readonly workspaces: Workspaces, | ||
@inject(CLASSES.WorkspaceNameHandler) private readonly workspaceNameHandler: WorkspaceNameHandler, | ||
@inject(CLASSES.BrowserTabsUtil) private readonly browserTabsUtil: BrowserTabsUtil) {} | ||
@@ -46,3 +44,2 @@ | ||
await this.createWorkspace.clickOnSample(stack); | ||
// WorkspaceHandlingTests.workspaceName = await this.workspaceNameHandler.getNameFromUrl(); | ||
await this.browserTabsUtil.switchToWindow(parentGUID); | ||
@@ -49,0 +46,0 @@ WorkspaceHandlingTests.workspaceName = await this.dashboard.getRecentWorkspaceName(10000); |
@@ -14,4 +14,5 @@ { | ||
"emitDecoratorMetadata": true, | ||
"noImplicitReturns": false, | ||
"sourceMap": true | ||
} | ||
} |
234
tslint.json
{ | ||
"rules": { | ||
"ban": [ | ||
true, | ||
[ | ||
"_", | ||
"extend" | ||
], | ||
[ | ||
"_", | ||
"isNull" | ||
], | ||
[ | ||
"_", | ||
"isDefined" | ||
] | ||
"rules": { | ||
"ban": [ | ||
true, | ||
[ | ||
"_", | ||
"extend" | ||
], | ||
"class-name": true, | ||
"comment-format": [ | ||
true, | ||
"check-space", | ||
"check-lowercase" | ||
[ | ||
"_", | ||
"isNull" | ||
], | ||
"curly": true, | ||
"eofline": true, | ||
"forin": true, | ||
"indent": [ | ||
true, | ||
2 | ||
[ | ||
"_", | ||
"isDefined" | ||
] | ||
], | ||
"class-name": true, | ||
"comment-format": [ | ||
true, | ||
"check-space", | ||
"check-lowercase" | ||
], | ||
"curly": true, | ||
"eofline": true, | ||
"forin": true, | ||
"indent": [ | ||
true, | ||
2 | ||
], | ||
"interface-name": true, | ||
"jsdoc-format": true, | ||
"label-position": true, | ||
"max-line-length": [ | ||
false, | ||
140 | ||
], | ||
"member-ordering": [ | ||
true, | ||
"public-before-private", | ||
"static-before-instance", | ||
"variables-before-functions" | ||
], | ||
"no-arg": true, | ||
"no-bitwise": true, | ||
"no-console": [ | ||
true, | ||
"debug", | ||
"info", | ||
"time", | ||
"timeEnd", | ||
"trace" | ||
], | ||
"no-construct": true, | ||
"no-parameter-properties": false, | ||
"no-debugger": true, | ||
"no-duplicate-variable": true, | ||
"no-empty": true, | ||
"no-eval": true, | ||
"no-string-literal": true, | ||
"no-switch-case-fall-through": true, | ||
"trailing-comma": [true, { | ||
"singleline": "never", | ||
"multiline": { | ||
"objects": "ignore", | ||
"arrays": "always", | ||
"functions": "never", | ||
"typeLiterals": "ignore" | ||
} | ||
}], | ||
"no-trailing-whitespace": true, | ||
"no-unused-expression": true, | ||
"no-unused-variable": true, | ||
"no-use-before-declare": true, | ||
"no-var-requires": false, | ||
"one-line": [ | ||
true, | ||
"check-open-brace", | ||
"check-catch", | ||
"check-else", | ||
"check-whitespace" | ||
], | ||
"quotemark": [ | ||
true, | ||
"single" | ||
], | ||
"radix": true, | ||
"semicolon": true, | ||
"triple-equals": [ | ||
true, | ||
"allow-null-check" | ||
], | ||
"typedef": [ | ||
true, | ||
"callSignature", | ||
"indexSignature", | ||
"parameter", | ||
"propertySignature", | ||
"variableDeclarator" | ||
], | ||
"typedef-whitespace": [ | ||
true, | ||
[ | ||
"callSignature", | ||
"noSpace" | ||
], | ||
"interface-name": true, | ||
"jsdoc-format": true, | ||
"label-position": true, | ||
"label-undefined": true, | ||
"max-line-length": [ | ||
false, | ||
140 | ||
[ | ||
"catchClause", | ||
"noSpace" | ||
], | ||
"member-ordering": [ | ||
true, | ||
"public-before-private", | ||
"static-before-instance", | ||
"variables-before-functions" | ||
], | ||
"no-arg": true, | ||
"no-bitwise": true, | ||
"no-console": [ | ||
true, | ||
"debug", | ||
"info", | ||
"time", | ||
"timeEnd", | ||
"trace" | ||
], | ||
"no-construct": true, | ||
"no-constructor-vars": true, | ||
"no-debugger": true, | ||
"no-duplicate-key": true, | ||
"no-duplicate-variable": true, | ||
"no-empty": true, | ||
"no-eval": true, | ||
"no-string-literal": true, | ||
"no-switch-case-fall-through": true, | ||
"no-trailing-comma": true, | ||
"no-trailing-whitespace": true, | ||
"no-unused-expression": true, | ||
"no-unused-variable": true, | ||
"no-unreachable": true, | ||
"no-use-before-declare": true, | ||
"no-var-requires": false, | ||
"one-line": [ | ||
true, | ||
"check-open-brace", | ||
"check-catch", | ||
"check-else", | ||
"check-whitespace" | ||
], | ||
"quotemark": [ | ||
true, | ||
"single" | ||
], | ||
"radix": true, | ||
"semicolon": true, | ||
"triple-equals": [ | ||
true, | ||
"allow-null-check" | ||
], | ||
"typedef": [ | ||
true, | ||
"callSignature", | ||
[ | ||
"indexSignature", | ||
"parameter", | ||
"propertySignature", | ||
"variableDeclarator" | ||
], | ||
"typedef-whitespace": [ | ||
true, | ||
[ | ||
"callSignature", | ||
"noSpace" | ||
], | ||
[ | ||
"catchClause", | ||
"noSpace" | ||
], | ||
[ | ||
"indexSignature", | ||
"space" | ||
] | ||
], | ||
"use-strict": false, | ||
"variable-name": false, | ||
"whitespace": [ | ||
true, | ||
"check-branch", | ||
"check-decl", | ||
"check-operator", | ||
"check-separator", | ||
"check-type" | ||
"space" | ||
] | ||
} | ||
], | ||
"use-strict": false, | ||
"variable-name": false, | ||
"whitespace": [ | ||
true, | ||
"check-branch", | ||
"check-decl", | ||
"check-operator", | ||
"check-separator", | ||
"check-type" | ||
] | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
1519745
-0.06%20580
-0.01%