Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@eclipse-che/che-e2e
Advanced tools
Perform commands:
export TS_SELENIUM_BASE_URL=<Che7 URL>
npm ci
Note: If there is any modifications in package.json, manually execute the npm install
to update the package-lock.json. So that errors can be avoided while executing npm ci
export TS_SELENIUM_OCP_USERNAME=<username>
export TS_SELENIUM_OCP_PASSWORD=<password>
npm run test
'TimeoutConstants.ts'
. You can see the list of those variables and their value if you set the 'TS_SELENIUM_PRINT_TIMEOUT_VARIABLES = true'
export USERSTORY=<spec-file-name-without-extension> && npm run test
(example: -e USERSTORY=Quarkus
)export USERSTORY=<spec-file-name-without-extension> && npm run driver-less-test
(example: -e USERSTORY=CloneGitRepoAPI
)TS_PLATFORM=kubernetes
environmental variable and TS_SELENIUM_K8S_PASSWORD
, TS_SELENIUM_K8S_USERNAME
to provide credentials. The sample of test command in this case:
export TS_PLATFORM=kubernetes && \
export TS_SELENIUM_K8S_USERNAME=<username> && \
export TS_SELENIUM_K8S_PASSWORD=<password> && \
export TS_SELENIUM_BASE_URL=<ingress-url> && \
npm run test
Also, environmental variables can be set in files in "constants" folder.npm run open-allure-dasboard
"TS_SELENIUM_BASE_URL"
variable with "Che" url"npm run test-docker"
For launching tests with local changes perform next steps:
"TS_SELENIUM_BASE_URL"
variable with "Che" url"npm run test-docker-mount-e2e"
The 'eclipse/che-e2e'
docker image has VNC server installed inside. For connecting use '0.0.0.0:5920'
address.
The easiest way to do that is to perform steps which are described in the "Docker launch" paragraph. For running tests without docker, please perform next steps:
For successfull test passing, exactly provided devfile should be used
)
https://gist.githubusercontent.com/Ohrimenko1988/93f5426f4ebc1705c55feb8ff0396a49/raw/cbea89ad145ba33ed34a151a12c50f045f9f3b78/yaml-ls-bug.yaml'TS_SELENIUM_BASE_URL'
environment variable as described aboveexport USERSTORY=$TS_SELENIUM_HAPPY_PATH_WORKSPACE_NAME && npm run test-all-devfiles
Setup next environment variables:
Execute the npm command:
export USERSTORY=$TS_SELENIUM_HAPPY_PATH_WORKSPACE_NAME && npm run test-all-devfiles
FAQs
## Requirements
The npm package @eclipse-che/che-e2e receives a total of 97 weekly downloads. As such, @eclipse-che/che-e2e popularity was classified as not popular.
We found that @eclipse-che/che-e2e demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.