#8582 - test: e2e monitorTicket #1391

Merged
jsegarra merged 51 commits from e2e_monitor into dev 2025-04-15 21:04:49 +00:00
5 changed files with 6 additions and 13 deletions
Showing only changes of commit 92fba2e0c4 - Show all commits

View File

@ -207,7 +207,7 @@ const getLocale = (label) => {
color="primary"
style="position: fixed; z-index: 1; right: 0; bottom: 0"
icon="search"
data-cy="search"
data-cy="vnFilterPanel_search"
jsegarra marked this conversation as resolved Outdated

vnFilterPanel_search, veo muy general usar search

vnFilterPanel_search, veo muy general usar search

cambiado

cambiado
@click="search()"
>
<QTooltip bottom anchor="bottom right">

View File

@ -2,7 +2,7 @@
describe('OrderCatalog', () => {
beforeEach(() => {
cy.login('developer');
cy.viewport(1920, 720);
cy.viewport(1920, 1080);
cy.visit('/#/order/8/catalog');
});

View File

@ -24,13 +24,13 @@ describe('Monitor Clients actions', () => {
cy.dataCy('DepartmentDescriptor').should('exist');
cy.dataCy('clientsOnWebsite')
.find(' .q-ml-md')
.find('.q-ml-md')
.should('have.text', 'Clients on website');
cy.dataCy('recentOrderActions')
.find('.q-ml-md')
.should('have.text', 'Recent order actions');
cy.get('[data-cy="From_inputDate"]').should('have.value', '01/01/2001');
cy.get('[data-cy="To_inputDate"]').should('have.value', '01/01/2001');
cy.dataCy('From_inputDate').should('have.value', '01/01/2001');
cy.dataCy('To_inputDate').should('have.value', '01/01/2001');
cy.get(`${clientFk} [data-cy="_select"]`).click();
cy.clickOption();
cy.countTableRows('eq', 0);

View File

@ -107,13 +107,6 @@ Cypress.Commands.add('waitSpinner', () => {
}
});
});
// Cypress.Commands.add('waitRightSpinner', () => {
// cy.get('body').then(($body) => {
// if ($body.find('.q-inner-loading').length) {
// cy.get('.q-inner-loading').should('not.be.visible');
// }
// });
// });
jsegarra marked this conversation as resolved Outdated

Quitar

Quitar
// Fill Inputs
Cypress.Commands.add('selectOption', (selector, option, timeout = 2500) => {

View File

@ -68,7 +68,7 @@ const waitForApiReady = (url, maxRetries = 20, delay = 1000) => {
};
before(() => {
cy.viewport(1920, 720);
cy.viewport(1920, 1080);
jsegarra marked this conversation as resolved Outdated

Una resolución un poco rara no? Supongo que querías poner 1080

Una resolución un poco rara no? Supongo que querías poner 1080

Lo debí copiar de algún sitio.
Aprovecho para quitarlo

Lo debí copiar de algún sitio. Aprovecho para quitarlo
waitForApiReady('/api/Applications/status');
});