warmFix: fix own test #1041

Merged
jsegarra merged 6 commits from fix_js_e2e_test into test 2024-12-09 08:42:22 +00:00
2 changed files with 2 additions and 4 deletions
Showing only changes of commit 408aa9d535 - Show all commits

View File

@ -37,7 +37,7 @@ describe('TicketList', () => {
cy.dataCy('ticketSummary').should('exist');
});
it('Client list create new client', () => {
it.only('Client list create new client', () => {
cy.dataCy('vnTableCreateBtn').should('exist');
cy.dataCy('vnTableCreateBtn').click();
const data = {

View File

@ -111,9 +111,7 @@ Cypress.Commands.add('fillInForm', (obj, form = '.q-form > .q-card') => {
switch (type) {
case 'select':
cy.wrap(el).type(val);
cy.get('.q-menu .q-item', { timeout: 2000 })
.contains(val)
.click();
cy.get('.q-menu .q-item').contains(val).click();
Outdated
Review

Sin timeout falla?

Sin timeout falla?

Es flipante, por terminal falla y por visual, ves como al darle al botón de guardar se vuelve a mostrar el desplegable.
Esto pasa tanto en TicketList como en ClientList para campos VnSelect. Lo que no entiendo es como no se ha detectado/saltado antes
Incluso, a pesar de poner z-max en el botón.
Si quieres nos sentamos y lo vemos

Es flipante, por terminal falla y por visual, ves como al darle al botón de guardar se vuelve a mostrar el desplegable. Esto pasa tanto en TicketList como en ClientList para campos VnSelect. Lo que no entiendo es como no se ha detectado/saltado antes Incluso, a pesar de poner z-max en el botón. Si quieres nos sentamos y lo vemos
break;
case 'date':
cy.wrap(el).type(val.split('-').join(''));