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

@processmaker/cypress-utils

Package Overview
Dependencies
Maintainers
5
Versions
409
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.20 to 1.0.21

2

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

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

@@ -61,6 +61,6 @@ import selectors from "#selectors/processTesting";

cy.iframe(iframeSelector).xpath(selectors.containerScenario).click();
cy.iframe(iframeSelector).xpath(selectors.inputScenario).should('be.visible');
cy.iframe(iframeSelector).xpath(selectors.inputScenario).click().type(scenario, { force: true, delay: 70 });
cy.iframe(iframeSelector).find(selectors.inputScenario).should('be.visible');
cy.iframe(iframeSelector).find(selectors.inputScenario).click().type(scenario, { force: true, delay: 70 });
cy.wait(1000)
cy.iframe(iframeSelector).xpath(selectors.inputScenario).type('{enter}');
cy.iframe(iframeSelector).find(selectors.inputScenario).type('{enter}');
}

@@ -482,6 +482,6 @@

cy.xpath(selectors.containerScenario).click();
cy.xpath(selectors.inputScenario).should('be.visible');
cy.xpath(selectors.inputScenario).click().type(scenario, { force: true, delay: 70 });
cy.get(selectors.inputScenario).should('be.visible');
cy.get(selectors.inputScenario).click().type(scenario, { force: true, delay: 70 });
cy.wait(1000)
cy.xpath(selectors.inputScenario).type('{enter}');
cy.get(selectors.inputScenario).type('{enter}');
}

@@ -491,3 +491,3 @@

cy.xpath(selectors.containerScenario).click();
cy.xpath(selectors.inputScenario).click().type(nameToFilter).should('have.value', nameToFilter);
cy.get(selectors.inputScenario).click().type(nameToFilter).should('have.value', nameToFilter);
cy.get('[aria-label="-- Select All --. "]').click();

@@ -590,8 +590,8 @@ }

if ($element !== 'No Data Available') {
this.clickOnclearBtn();
this.clickOnConfirmClearTests();
}
this.clickOnclearBtn();
this.clickOnConfirmClearTests();
}
else {
return;
}
return;
}
})

@@ -598,0 +598,0 @@ }

@@ -1,2 +0,2 @@

export default{
export default {
iframeA: '[id="alternative_a"]',

@@ -6,3 +6,3 @@ iframeB: '[id="alternative_b"]',

ellipsisMenuIcon: '//div[@data-cy="ellipsis-menu"]//button[@aria-haspopup="menu"]',
runTestBtnInModeler:'//div[@data-cy="ellipsis-menu"]//ul//li//*[contains(text(),"Run Test")]',
runTestBtnInModeler: '//div[@data-cy="ellipsis-menu"]//ul//li//*[contains(text(),"Run Test")]',
//Alternative

@@ -14,15 +14,15 @@ labelAlternative: '//label[text()="Alternative *"]',

//Starting Point
labelSP:'//label[text()="Starting Point *"]',
containerSP:'//label[text()="Starting Point *"]/parent::div/div//div[@class="multiselect__tags"]',
labelSP: '//label[text()="Starting Point *"]',
containerSP: '//label[text()="Starting Point *"]/parent::div/div//div[@class="multiselect__tags"]',
inputSP: '[id="select-step"]',
itemSP:'//label[text()="Starting Point *"]/parent::div//div[@class="multiselect__content-wrapper"]//li[1]',
itemSP: '//label[text()="Starting Point *"]/parent::div//div[@class="multiselect__content-wrapper"]//li[1]',
//Manual Resume Point
labelMRP:'//label[text()="Manual Resume Point"]',
containerMRP:'//label[text()="Manual Resume Point"]/parent::div/div//div[@class="multiselect__tags"]',
inputMRP:'//label[text()="Manual Resume Point"]/parent::div//div//div[@class="multiselect__tags"]//input',
itemMRP:'//label[text()="Manual Resume Point"]/parent::div//div[@class="multiselect__content-wrapper"]//li[1]',
labelMRP: '//label[text()="Manual Resume Point"]',
containerMRP: '//label[text()="Manual Resume Point"]/parent::div/div//div[@class="multiselect__tags"]',
inputMRP: '//label[text()="Manual Resume Point"]/parent::div//div//div[@class="multiselect__tags"]//input',
itemMRP: '//label[text()="Manual Resume Point"]/parent::div//div[@class="multiselect__content-wrapper"]//li[1]',
//Scenario
labelScenario:'//label[text()="Scenario"]',
labelScenario: '//label[text()="Scenario"]',
containerScenario: '//label[contains(text(),"Scenario")]//parent::div//div[@class="multiselect__select"]',
inputScenario:'//label[text()="Scenario"]/parent::div//div//div[@class="multiselect__tags"]//input',
inputScenario: 'input[id="scenario-select"]',
itemScenario: '//label[text()="Scenario"]/parent::div//div[@class="multiselect__content-wrapper"]//li[2]',

@@ -34,3 +34,3 @@ //Additional data

//Check to bypass Script tasks and Data Connectors
bypassCheckbox:'//input[@type="checkbox"]',
bypassCheckbox: '//input[@type="checkbox"]',

@@ -44,3 +44,3 @@ //FROM PROCESS CONFIGURE

scenariosTab: '[data-test="scenarios-tab"]',
createScenarioBtnBP:'[aria-label="Create Scenario"]',
createScenarioBtnBP: '[aria-label="Create Scenario"]',
searchScenario: '#scenarios-edit-tab > :nth-child(1) > #search-bar > :nth-child(1) > .flex-grow-1 > #search > .input-group > .form-control',

@@ -65,11 +65,11 @@

saveScenarioBPBtn: '.w-100 > .btn-secondary',
alertMessage:'[class="alert d-none d-lg-block alertBox alert-dismissible alert-success"]',
alertMessage: '[class="alert d-none d-lg-block alertBox alert-dismissible alert-success"]',
//CRUD scenario
menuScenario: '//div[@data-test="scenario-ellipsis"]//button[@aria-haspopup="menu"]',
editScenarioBtn:'//ul//li//*[contains(text(),"Edit Scenario")]//parent::div//i',
editScenarioBtn: '//ul//li//*[contains(text(),"Edit Scenario")]//parent::div//i',
deleteScenarioBtn: '//a[@data-test="delete-scenario-btn"]',
confirmDeleteScenario:'//button[text()="Confirm"]',
editDescription:'//legend[text()="Description *"]/following-sibling::div//textarea',
confirmDeleteScenario: '//button[text()="Confirm"]',
editDescription: '//legend[text()="Description *"]/following-sibling::div//textarea',

@@ -80,7 +80,7 @@ //TESTS RUN

plusScenarioBtn: '[aria-label="Create Scenario"]',
testBtnInConfigProcess:'button[aria-label="Test"]',
clearBtnInRunTab:'button[aria-label="Clear"]',
testBtnInConfigProcess: 'button[aria-label="Test"]',
clearBtnInRunTab: 'button[aria-label="Clear"]',
searchTestRun: ':nth-child(1) > :nth-child(1) > #search-bar > :nth-child(1) > .flex-grow-1 > #search > .input-group > .form-control',
confirmDeleteAllTests:'//button[contains(text(),"Confirm")]',
rowTestsRun:'//div[@id="test-runs-edit-tab"]//div[@class="card card-body menu-table-card"]//table//tbody//tr',
confirmDeleteAllTests: '//button[contains(text(),"Confirm")]',
rowTestsRun: '//div[@id="test-runs-edit-tab"]//div[@class="card card-body menu-table-card"]//table//tbody//tr',
runBtn: '//footer//button[contains(text(),"Run")]',

@@ -90,7 +90,7 @@

//Scenario created by request BR:by request
dataTab:'//a[contains(text(),"Data")]',
createScenarioBtnBR:'//button[text()[normalize-space()="Create Scenario"]]',
nameInCreateScenarioBR:'input[id="name"]',
descriptionInCreateScenarioBR:'textarea[id="description"]',
dataInCreateScenarioBR:'//label[text()="Data"]/following-sibling::div//textarea',
dataTab: '//a[contains(text(),"Data")]',
createScenarioBtnBR: '//button[text()[normalize-space()="Create Scenario"]]',
nameInCreateScenarioBR: 'input[id="name"]',
descriptionInCreateScenarioBR: 'textarea[id="description"]',
dataInCreateScenarioBR: '//label[text()="Data"]/following-sibling::div//textarea',
saveBtnInCreateScenarioBR: '(//button[contains(text(),"Save")])[2]',

@@ -97,0 +97,0 @@ emailTab: '//a[contains(text(),"Emails")]',

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