Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SaveSearch #315

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading