Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@processmaker/cypress-utils

Package Overview
Dependencies
Maintainers
0
Versions
295
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@processmaker/cypress-utils - npm Package Compare versions

Comparing version 1.0.294 to 1.0.295

2

package.json
{
"name": "@processmaker/cypress-utils",
"version": "1.0.294",
"version": "1.0.295",
"description": "ProcessMaker Cypress Testing Utilities",

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

@@ -46,2 +46,24 @@ import selectors from "#selectors/fileManager"

/**
*
* @param {*} row nro row in order to open the floating menu
* @param {*} val posible values= Open, Download
*/
pressTooltip(row = 0, val) {
let btn;
switch(val){
case "Open":
btn = "file-open";
break;
case "Download":
btn = "file-download";
break;
default:
btn = "file-preview";
}
cy.get('[class="floating-menu"]').eq(row).invoke("show").within(() => {
cy.get('button[id*="' + btn + '-"]').should("be.visible").click({force:true});
});
}
}
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