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
0
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.92.0-next-71276b8 to 7.92.0-next-dd6c3f2

dist/pageobjects/ide/ViewsMoreActionsButton.js

2

configs/inversify.config.ts

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

import { TrustAuthorPopup } from '../pageobjects/dashboard/TrustAuthorPopup';
import { ViewsMoreActionsButton } from '../pageobjects/ide/ViewsMoreActionsButton';

@@ -97,2 +98,3 @@ const e2eContainer: Container = new Container({ defaultScope: 'Transient', skipBaseClassChecks: true });

e2eContainer.bind<TrustAuthorPopup>(CLASSES.TrustAuthorPopup).to(TrustAuthorPopup);
e2eContainer.bind<ViewsMoreActionsButton>(CLASSES.ViewsMoreActionsButton).to(ViewsMoreActionsButton);

@@ -99,0 +101,0 @@ if (BASE_TEST_CONSTANTS.TS_PLATFORM === Platform.OPENSHIFT) {

3

configs/inversify.types.ts

@@ -54,3 +54,4 @@ /** *******************************************************************

RevokeOauthPage: 'RevokeOauthPage',
TrustAuthorPopup: 'TrustAuthorPopup'
TrustAuthorPopup: 'TrustAuthorPopup',
ViewsMoreActionsButton: 'ViewsMoreActionsButton'
};

@@ -57,0 +58,0 @@

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

const TrustAuthorPopup_1 = require("../pageobjects/dashboard/TrustAuthorPopup");
const ViewsMoreActionsButton_1 = require("../pageobjects/ide/ViewsMoreActionsButton");
const e2eContainer = new inversify_1.Container({ defaultScope: 'Transient', skipBaseClassChecks: true });

@@ -93,2 +94,3 @@ exports.e2eContainer = e2eContainer;

e2eContainer.bind(inversify_types_1.CLASSES.TrustAuthorPopup).to(TrustAuthorPopup_1.TrustAuthorPopup);
e2eContainer.bind(inversify_types_1.CLASSES.ViewsMoreActionsButton).to(ViewsMoreActionsButton_1.ViewsMoreActionsButton);
if (BASE_TEST_CONSTANTS_1.BASE_TEST_CONSTANTS.TS_PLATFORM === BASE_TEST_CONSTANTS_1.Platform.OPENSHIFT) {

@@ -95,0 +97,0 @@ if (OAUTH_CONSTANTS_1.OAUTH_CONSTANTS.TS_SELENIUM_VALUE_OPENSHIFT_OAUTH) {

@@ -56,3 +56,4 @@ "use strict";

RevokeOauthPage: 'RevokeOauthPage',
TrustAuthorPopup: 'TrustAuthorPopup'
TrustAuthorPopup: 'TrustAuthorPopup',
ViewsMoreActionsButton: 'ViewsMoreActionsButton'
};

@@ -59,0 +60,0 @@ exports.CLASSES = CLASSES;

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

__exportStar(require("./pageobjects/ide/CheCodeLocatorLoader"), exports);
__exportStar(require("./pageobjects/ide/ViewsMoreActionsButton"), exports);
__exportStar(require("./pageobjects/login/interfaces/ICheLoginPage"), exports);

@@ -64,0 +65,0 @@ __exportStar(require("./pageobjects/login/interfaces/IOcpLoginPage"), exports);

"use strict";
/** *******************************************************************
* copyright (c) 2021 Red Hat, Inc.
* copyright (c) 2021-2024 Red Hat, Inc.
*

@@ -36,2 +36,3 @@ * This program and the accompanying materials are made

const createWorkspace = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.CreateWorkspace);
const viewsMoreActionsButton = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.ViewsMoreActionsButton);
let projectSection;

@@ -41,2 +42,3 @@ let scmProvider;

let scmContextMenu;
let viewsActionsButton;
// test specific data

@@ -123,2 +125,6 @@ const timeToRefresh = 1500;

await driverHelper.waitVisibility(webCheCodeLocators.ScmView.more);
viewsActionsButton = await viewsMoreActionsButton.viewsAndMoreActionsButtonIsVisible();
if (viewsActionsButton) {
await viewsMoreActionsButton.closeSourceControlGraph();
}
Logger_1.Logger.debug('scmProvider.openMoreActions');

@@ -125,0 +131,0 @@ scmContextMenu = await scmProvider.openMoreActions();

"use strict";
/** *******************************************************************
* copyright (c) 2021 Red Hat, Inc.
* copyright (c) 2021-2024 Red Hat, Inc.
*

@@ -36,5 +36,7 @@ * This program and the accompanying materials are made

const createWorkspace = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.CreateWorkspace);
const viewsMoreActionsButton = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.ViewsMoreActionsButton);
let projectSection;
let scmProvider;
let scmContextMenu;
let viewsActionsButton;
// test specific data

@@ -138,3 +140,6 @@ let numberOfCreatedWorkspaces = 0;

await driverHelper.waitVisibility(webCheCodeLocators.ScmView.more);
Logger_1.Logger.debug('scmProvider.openMoreActions');
viewsActionsButton = await viewsMoreActionsButton.viewsAndMoreActionsButtonIsVisible();
if (viewsActionsButton) {
await viewsMoreActionsButton.closeSourceControlGraph();
}
scmContextMenu = await scmProvider.openMoreActions();

@@ -141,0 +146,0 @@ await driverHelper.waitVisibility(webCheCodeLocators.ContextMenu.contextView);

"use strict";
/** *******************************************************************
* copyright (c) 2021 Red Hat, Inc.
* copyright (c) 2021-2024 Red Hat, Inc.
*

@@ -36,2 +36,3 @@ * This program and the accompanying materials are made

const createWorkspace = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.CreateWorkspace);
const viewsMoreActionsButton = inversify_config_1.e2eContainer.get(inversify_types_1.CLASSES.ViewsMoreActionsButton);
let projectSection;

@@ -41,2 +42,3 @@ let scmProvider;

let scmContextMenu;
let viewsActionsButton;
// test specific data

@@ -136,2 +138,6 @@ const timeToRefresh = 1500;

await driverHelper.waitVisibility(webCheCodeLocators.ScmView.more);
viewsActionsButton = await viewsMoreActionsButton.viewsAndMoreActionsButtonIsVisible();
if (viewsActionsButton) {
await viewsMoreActionsButton.closeSourceControlGraph();
}
Logger_1.Logger.debug('scmProvider.openMoreActions');

@@ -138,0 +144,0 @@ scmContextMenu = await scmProvider.openMoreActions();

@@ -33,2 +33,3 @@ import * as inversifyConfig from './configs/inversify.config';

export * from './pageobjects/ide/CheCodeLocatorLoader';
export * from './pageobjects/ide/ViewsMoreActionsButton';
export * from './pageobjects/login/interfaces/ICheLoginPage';

@@ -35,0 +36,0 @@ export * from './pageobjects/login/interfaces/IOcpLoginPage';

{
"name": "@eclipse-che/che-e2e",
"version": "7.92.0-next-71276b8",
"version": "7.92.0-next-dd6c3f2",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

/** *******************************************************************
* copyright (c) 2021 Red Hat, Inc.
* copyright (c) 2021-2024 Red Hat, Inc.
*

@@ -43,2 +43,3 @@ * This program and the accompanying materials are made

import { CreateWorkspace } from '../../pageobjects/dashboard/CreateWorkspace';
import { ViewsMoreActionsButton } from '../../pageobjects/ide/ViewsMoreActionsButton';

@@ -59,2 +60,3 @@ suite(

const createWorkspace: CreateWorkspace = e2eContainer.get(CLASSES.CreateWorkspace);
const viewsMoreActionsButton: ViewsMoreActionsButton = e2eContainer.get(CLASSES.ViewsMoreActionsButton);

@@ -65,2 +67,3 @@ let projectSection: ViewSection;

let scmContextMenu: ContextMenu;
let viewsActionsButton: boolean;

@@ -160,2 +163,6 @@ // test specific data

await driverHelper.waitVisibility(webCheCodeLocators.ScmView.more);
viewsActionsButton = await viewsMoreActionsButton.viewsAndMoreActionsButtonIsVisible();
if (viewsActionsButton) {
await viewsMoreActionsButton.closeSourceControlGraph();
}
Logger.debug('scmProvider.openMoreActions');

@@ -162,0 +169,0 @@ scmContextMenu = await scmProvider.openMoreActions();

/** *******************************************************************
* copyright (c) 2021 Red Hat, Inc.
* copyright (c) 2021-2024 Red Hat, Inc.
*

@@ -44,2 +44,3 @@ * This program and the accompanying materials are made

import { CreateWorkspace } from '../../pageobjects/dashboard/CreateWorkspace';
import { ViewsMoreActionsButton } from '../../pageobjects/ide/ViewsMoreActionsButton';

@@ -60,2 +61,3 @@ suite(

const createWorkspace: CreateWorkspace = e2eContainer.get(CLASSES.CreateWorkspace);
const viewsMoreActionsButton: ViewsMoreActionsButton = e2eContainer.get(CLASSES.ViewsMoreActionsButton);

@@ -65,2 +67,3 @@ let projectSection: ViewSection;

let scmContextMenu: ContextMenu;
let viewsActionsButton: boolean;

@@ -178,3 +181,6 @@ // test specific data

await driverHelper.waitVisibility(webCheCodeLocators.ScmView.more);
Logger.debug('scmProvider.openMoreActions');
viewsActionsButton = await viewsMoreActionsButton.viewsAndMoreActionsButtonIsVisible();
if (viewsActionsButton) {
await viewsMoreActionsButton.closeSourceControlGraph();
}
scmContextMenu = await scmProvider.openMoreActions();

@@ -181,0 +187,0 @@ await driverHelper.waitVisibility(webCheCodeLocators.ContextMenu.contextView);

/** *******************************************************************
* copyright (c) 2021 Red Hat, Inc.
* copyright (c) 2021-2024 Red Hat, Inc.
*

@@ -43,2 +43,3 @@ * This program and the accompanying materials are made

import { CreateWorkspace } from '../../pageobjects/dashboard/CreateWorkspace';
import { ViewsMoreActionsButton } from '../../pageobjects/ide/ViewsMoreActionsButton';

@@ -59,2 +60,3 @@ suite(

const createWorkspace: CreateWorkspace = e2eContainer.get(CLASSES.CreateWorkspace);
const viewsMoreActionsButton: ViewsMoreActionsButton = e2eContainer.get(CLASSES.ViewsMoreActionsButton);

@@ -65,2 +67,3 @@ let projectSection: ViewSection;

let scmContextMenu: ContextMenu;
let viewsActionsButton: boolean;

@@ -177,2 +180,6 @@ // test specific data

await driverHelper.waitVisibility(webCheCodeLocators.ScmView.more);
viewsActionsButton = await viewsMoreActionsButton.viewsAndMoreActionsButtonIsVisible();
if (viewsActionsButton) {
await viewsMoreActionsButton.closeSourceControlGraph();
}
Logger.debug('scmProvider.openMoreActions');

@@ -179,0 +186,0 @@ scmContextMenu = await scmProvider.openMoreActions();

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