Skip to content

Commit

Permalink
Merge pull request #315 from ProcessMaker/updSaveSearch_1
Browse files Browse the repository at this point in the history
SaveSearch
  • Loading branch information
MayraMelisa authored Dec 3, 2024
2 parents 32eab7c + c3585ce commit ce36b39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions pages/execution.js
Original file line number Diff line number Diff line change
Expand Up @@ -4666,8 +4666,8 @@ async actionsAndAssertionsOfTCP42332_4(taskName, process_id, subprocess_id, subp
}

fillFormTCP42234(value1,value2){
cy.get('input[name="lineInputInteger"]').type(value1);
cy.get('input[name="lineInputPercentage"]').type(value2);
cy.get('input[name="lineInputInteger"]').type(value1,{delay:50});
cy.get('input[name="lineInputPercentage"]').type(value2,{delay:50});
cy.get('button[aria-label="Submit"]').click();
cy.get('[class="alert d-none d-lg-block alertBox alert-dismissible alert-success"]').should('be.visible');
}
Expand Down
9 changes: 2 additions & 7 deletions pages/saveSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,7 @@ export class SaveSearchs {
* @param {string} config.frequency - Frecuencia del reporte (daily, weekly, monthly) - Opcional
* @param {string} config.time - Hora del envío (formato HH:mm) - Opcional
*/
scheduledReports({ email, subject, body, frequency = 'daily', time = '09:00' }) {
// Validaciones básicas
if (!email || !subject || !body) {
throw new Error('Email, subject y body son campos requeridos');
}

scheduledReports(email, subject, body, frequency = 'daily', time = '09:00') {
// Configurar el reporte programado
cy.get(selectors.scheduled).should('be.visible').click();
cy.get(selectors.addscheduled).should('be.visible').click();
Expand Down Expand Up @@ -97,7 +92,7 @@ export class SaveSearchs {
cy.xpath(selectors.closehour)
.should('be.visible')
.click();

cy.wait(1000);
// Llenar formulario
cy.xpath(selectors.sendto2)
.first()
Expand Down

0 comments on commit ce36b39

Please sign in to comment.