New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@eclipse-che/che-e2e

Package Overview
Dependencies
Maintainers
4
Versions
363
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclipse-che/che-e2e - npm Package Compare versions

Comparing version 7.83.0-next-fe3c6cf to 7.83.0

2

dist/pageobjects/ide/CheCodeLocatorLoader.js

@@ -49,3 +49,3 @@ "use strict";

ScmView: {
actionConstructor: (title) => selenium_webdriver_1.By.xpath(`.//a[@title='${title}']`)
actionConstructor: (title) => selenium_webdriver_1.By.xpath(`.//a[@aria-label='${title}']`)
}

@@ -52,0 +52,0 @@ },

@@ -43,3 +43,2 @@ "use strict";

const fileToChange = 'Date.txt';
const commitChangesButtonLabel = `Commit Changes on "${FACTORY_TEST_CONSTANTS_1.FACTORY_TEST_CONSTANTS.TS_SELENIUM_FACTORY_GIT_REPO_BRANCH}"`;
const refreshButtonLabel = 'Refresh';

@@ -111,4 +110,4 @@ const pushItemLabel = 'Push';

await driverHelper.wait(timeToRefresh);
Logger_1.Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
Logger_1.Logger.debug(`wait and click on: "${refreshButtonLabel}"`);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
// wait while changes counter will be refreshed

@@ -133,4 +132,4 @@ await driverHelper.wait(timeToRefresh);

await driverHelper.wait(timeToRefresh);
Logger_1.Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
Logger_1.Logger.debug(`wait and click on: "${refreshButtonLabel}"`);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
// wait while changes counter will be refreshed

@@ -143,3 +142,3 @@ await driverHelper.wait(timeToRefresh);

test('Push the changes', async function () {
await driverHelper.waitVisibility(webCheCodeLocators.ScmView.actionConstructor(`Push 1 commits to origin/${FACTORY_TEST_CONSTANTS_1.FACTORY_TEST_CONSTANTS.TS_SELENIUM_FACTORY_GIT_REPO_BRANCH}`));
await driverHelper.waitVisibility(webCheCodeLocators.Notification.action);
await driverHelper.waitVisibility(webCheCodeLocators.ScmView.more);

@@ -155,5 +154,5 @@ Logger_1.Logger.debug('scmProvider.openMoreActions');

await driverHelper.wait(timeToRefresh);
Logger_1.Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
const isCommitButtonDisabled = await driverHelper.waitAndGetElementAttribute(webCheCodeLocators.ScmView.actionConstructor(commitChangesButtonLabel), 'aria-disabled');
Logger_1.Logger.debug(`wait and click on: "${refreshButtonLabel}"`);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
const isCommitButtonDisabled = await driverHelper.waitAndGetElementAttribute(webCheCodeLocators.Notification.action, 'aria-disabled');
(0, chai_1.expect)(isCommitButtonDisabled).to.equal('true');

@@ -160,0 +159,0 @@ });

@@ -125,4 +125,4 @@ "use strict";

await driverHelper.wait(timeToRefresh);
Logger_1.Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
Logger_1.Logger.debug(`wait and click on: "${refreshButtonLabel}"`);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
// wait while changes counter will be refreshed

@@ -147,4 +147,4 @@ await driverHelper.wait(timeToRefresh);

await driverHelper.wait(timeToRefresh);
Logger_1.Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
Logger_1.Logger.debug(`wait and click on: "${refreshButtonLabel}"`);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
// wait while changes counter will be refreshed

@@ -192,3 +192,3 @@ await driverHelper.wait(timeToRefresh);

Logger_1.Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
}

@@ -195,0 +195,0 @@ catch (e) {

@@ -122,4 +122,4 @@ "use strict";

await driverHelper.wait(timeToRefresh);
Logger_1.Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
Logger_1.Logger.debug(`wait and click on: "${refreshButtonLabel}"`);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
// wait while changes counter will be refreshed

@@ -144,4 +144,4 @@ await driverHelper.wait(timeToRefresh);

await driverHelper.wait(timeToRefresh);
Logger_1.Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
Logger_1.Logger.debug(`wait and click on: "${refreshButtonLabel}"`);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
// wait while changes counter will be refreshed

@@ -148,0 +148,0 @@ await driverHelper.wait(timeToRefresh);

@@ -58,12 +58,12 @@ "use strict";

test('Verify help command under admin user', async function () {
const helpCommandExpectedResult = 'oc \\d+\\.\\d+\\.\\d+ OpenShift CLI\n' +
'kubectl \\d+\\.\\d+\\.\\d+ Kubernetes CLI\n' +
'kustomize \\d+\\.\\d+\\.\\d+ Kustomize CLI \\(built-in to kubectl\\)\n' +
'helm \\d+\\.\\d+\\.\\d+ Helm CLI\n' +
'kn \\d+\\.\\d+\\.\\d+ KNative CLI\n' +
'tkn \\d+\\.\\d+\\.\\d+ Tekton CLI\n' +
'subctl \\d+\\.\\d+\\.\\d+ Submariner CLI\n' +
'odo \\d+\\.\\d+\\.\\d+ Red Hat OpenShift Developer CLI\n' +
'virtctl \\d+\\.\\d+\\.\\d+ KubeVirt CLI\n' +
'jq \\d+\\.\\d+ jq';
const helpCommandExpectedResult = 'oc.*\\d+\\.\\d+\\.\\d+.*OpenShift CLI\n' +
'kubectl.*\\d+\\.\\d+\\.\\d+.*Kubernetes CLI\n' +
'kustomize.*\\d+\\.\\d+\\.\\d+.*Kustomize CLI \\(built-in to kubectl\\)\n' +
'helm.*\\d+\\.\\d+\\.\\d+.*Helm CLI\n' +
'kn.*\\d+\\.\\d+\\.\\d+.*KNative CLI\n' +
'tkn.*\\d+\\.\\d+\\.\\d+.*Tekton CLI\n' +
'subctl.*\\d+\\.\\d+\\.\\d+.*Submariner CLI\n' +
'odo.*\\d+\\.\\d+\\.\\d+.*Red Hat OpenShift Developer CLI\n' +
'virtctl.*\\d+\\.\\d+\\.\\d+.*KubeVirt CLI\n' +
'jq.*\\d+\\.\\d+.*jq';
await webTerminal.typeAndEnterIntoWebTerminal(`help > ${fileForVerificationTerminalCommands}`);

@@ -70,0 +70,0 @@ const commandResult = kubernetesCommandLineToolsExecutor.execInContainerCommand(`cat /home/user/${fileForVerificationTerminalCommands}`, webTerminalToolContainerName);

{
"name": "@eclipse-che/che-e2e",
"version": "7.83.0-next-fe3c6cf",
"version": "7.83.0",
"description": "",

@@ -43,3 +43,3 @@ "main": "dist/index.js",

"chrome-har": "^0.13.2",
"chromedriver": "^120.0",
"chromedriver": "^122.0",
"clone-deep": "^4.0.1",

@@ -69,3 +69,4 @@ "eslint": "^8.45.0",

"inversify": "6.0.1",
"reflect-metadata": "0.1.13"
"reflect-metadata": "0.1.13",
"@eclipse-che/che-devworkspace-generator": "7.83.0"
},

@@ -72,0 +73,0 @@ "resolutions": {

@@ -45,3 +45,3 @@ /** *******************************************************************

ScmView: {
actionConstructor: (title: string): By => By.xpath(`.//a[@title='${title}']`)
actionConstructor: (title: string): By => By.xpath(`.//a[@aria-label='${title}']`)
}

@@ -48,0 +48,0 @@ },

@@ -66,3 +66,2 @@ /** *******************************************************************

const fileToChange: string = 'Date.txt';
const commitChangesButtonLabel: string = `Commit Changes on "${FACTORY_TEST_CONSTANTS.TS_SELENIUM_FACTORY_GIT_REPO_BRANCH}"`;
const refreshButtonLabel: string = 'Refresh';

@@ -145,4 +144,4 @@ const pushItemLabel: string = 'Push';

await driverHelper.wait(timeToRefresh);
Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
Logger.debug(`wait and click on: "${refreshButtonLabel}"`);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
// wait while changes counter will be refreshed

@@ -169,4 +168,4 @@ await driverHelper.wait(timeToRefresh);

await driverHelper.wait(timeToRefresh);
Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
Logger.debug(`wait and click on: "${refreshButtonLabel}"`);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
// wait while changes counter will be refreshed

@@ -180,7 +179,3 @@ await driverHelper.wait(timeToRefresh);

test('Push the changes', async function (): Promise<void> {
await driverHelper.waitVisibility(
webCheCodeLocators.ScmView.actionConstructor(
`Push 1 commits to origin/${FACTORY_TEST_CONSTANTS.TS_SELENIUM_FACTORY_GIT_REPO_BRANCH}`
)
);
await driverHelper.waitVisibility(webCheCodeLocators.Notification.action);
await driverHelper.waitVisibility(webCheCodeLocators.ScmView.more);

@@ -197,6 +192,6 @@ Logger.debug('scmProvider.openMoreActions');

await driverHelper.wait(timeToRefresh);
Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
Logger.debug(`wait and click on: "${refreshButtonLabel}"`);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
const isCommitButtonDisabled: string = await driverHelper.waitAndGetElementAttribute(
webCheCodeLocators.ScmView.actionConstructor(commitChangesButtonLabel),
webCheCodeLocators.Notification.action,
'aria-disabled'

@@ -203,0 +198,0 @@ );

@@ -161,4 +161,4 @@ /** *******************************************************************

await driverHelper.wait(timeToRefresh);
Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
Logger.debug(`wait and click on: "${refreshButtonLabel}"`);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
// wait while changes counter will be refreshed

@@ -185,4 +185,4 @@ await driverHelper.wait(timeToRefresh);

await driverHelper.wait(timeToRefresh);
Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
Logger.debug(`wait and click on: "${refreshButtonLabel}"`);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
// wait while changes counter will be refreshed

@@ -237,3 +237,3 @@ await driverHelper.wait(timeToRefresh);

Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
} catch (e) {

@@ -240,0 +240,0 @@ Logger.info(

@@ -162,4 +162,4 @@ /** *******************************************************************

await driverHelper.wait(timeToRefresh);
Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
Logger.debug(`wait and click on: "${refreshButtonLabel}"`);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
// wait while changes counter will be refreshed

@@ -186,4 +186,4 @@ await driverHelper.wait(timeToRefresh);

await driverHelper.wait(timeToRefresh);
Logger.debug(`scmProvider.takeAction: "${refreshButtonLabel}"`);
await scmProvider.takeAction(refreshButtonLabel);
Logger.debug(`wait and click on: "${refreshButtonLabel}"`);
await driverHelper.waitAndClick(webCheCodeLocators.ScmView.actionConstructor(refreshButtonLabel));
// wait while changes counter will be refreshed

@@ -190,0 +190,0 @@ await driverHelper.wait(timeToRefresh);

@@ -70,12 +70,12 @@ /** *******************************************************************

const helpCommandExpectedResult: string =
'oc \\d+\\.\\d+\\.\\d+ OpenShift CLI\n' +
'kubectl \\d+\\.\\d+\\.\\d+ Kubernetes CLI\n' +
'kustomize \\d+\\.\\d+\\.\\d+ Kustomize CLI \\(built-in to kubectl\\)\n' +
'helm \\d+\\.\\d+\\.\\d+ Helm CLI\n' +
'kn \\d+\\.\\d+\\.\\d+ KNative CLI\n' +
'tkn \\d+\\.\\d+\\.\\d+ Tekton CLI\n' +
'subctl \\d+\\.\\d+\\.\\d+ Submariner CLI\n' +
'odo \\d+\\.\\d+\\.\\d+ Red Hat OpenShift Developer CLI\n' +
'virtctl \\d+\\.\\d+\\.\\d+ KubeVirt CLI\n' +
'jq \\d+\\.\\d+ jq';
'oc.*\\d+\\.\\d+\\.\\d+.*OpenShift CLI\n' +
'kubectl.*\\d+\\.\\d+\\.\\d+.*Kubernetes CLI\n' +
'kustomize.*\\d+\\.\\d+\\.\\d+.*Kustomize CLI \\(built-in to kubectl\\)\n' +
'helm.*\\d+\\.\\d+\\.\\d+.*Helm CLI\n' +
'kn.*\\d+\\.\\d+\\.\\d+.*KNative CLI\n' +
'tkn.*\\d+\\.\\d+\\.\\d+.*Tekton CLI\n' +
'subctl.*\\d+\\.\\d+\\.\\d+.*Submariner CLI\n' +
'odo.*\\d+\\.\\d+\\.\\d+.*Red Hat OpenShift Developer CLI\n' +
'virtctl.*\\d+\\.\\d+\\.\\d+.*KubeVirt CLI\n' +
'jq.*\\d+\\.\\d+.*jq';

@@ -82,0 +82,0 @@ await webTerminal.typeAndEnterIntoWebTerminal(`help > ${fileForVerificationTerminalCommands}`);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc