
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
cells-component-back-compatibility
Advanced tools
Repository where the functional tests of the components will be executed
Repo with the functional tests for back compatibility in some of the Cells components of BBVA.
In the components-test.js
file we have several variables to configure in order to execute all the tests that we like.
flowsToTest
: function that returns an array with the configuration of all the flows that you want to check. Example:
const flowsToTest = () => {
return [
{
name: 'validate',
exec: validate,
timeout: 500000
}
];
};
In this case we have configured the flow validate
.
testComponents
: array with the config of the components to test. Example:
const testComponents = [
{
name: 'cells-atom-button',
url: 'ssh://git@globaldevtools.bbva.com:7999/ca/cells-atom-button.git'
},
{
name: 'cells-molecule-star-rating',
url: 'ssh://git@globaldevtools.bbva.com:7999/bgcm/cells-molecule-star-rating.git'
},
{
name: 'cells-ajax-behavior',
url: 'ssh://globaldevtools.bbva.com:7999/CBH/cells-ajax-behavior.git',
disabled: true
},
{
name: 'cells-template-animation-behavior',
url: 'ssh://git@globaldevtools.bbva.com:7999/cbh/cells-template-animation-behavior.git',
disabled: true
},
{
name: 'bgadp-employees',
url: 'ssh://git@globaldevtools.bbva.com:7999/bbvacellsapi/bgadp-employees.git',
disabled: true
},
{
name: 'bgadp-investment-funds',
url: 'ssh://git@globaldevtools.bbva.com:7999/bbvacellsapi/bgadp-investment-funds.git',
disabled: true
}
];
NOTE: (20/06/2017) Behaviours and bgadp components are failing on structural-testing step because of a problem reported to catalog team. While this problem was not solved these components are going to be disabled.
setPisco
: function that set the bin/pisco.js
const setPisco = () => {
if (!process.env.piscoExec) {
process.env.piscoExec = 'cells';
}
};
We have to remember that wen this module is executed from the outside, the value of this variable will be the piscosour executable of the recipe to be tested.
If we like to test the components configured in the previous section, we launch simply npm test
FAQs
Repository where the functional tests of the components will be executed
We found that cells-component-back-compatibility demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.