Skip to content

Commit

Permalink
fix(MISC-251): Revision de test
Browse files Browse the repository at this point in the history
  • Loading branch information
MarianoCampetella committed Oct 5, 2022
1 parent 94973a4 commit 7cf1ad6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/apps/citas/agendas/gestor_agenda.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ describe('CITAS - Planificar Agendas', () => {
expect(response.statusCode).to.eq(200);
expect(response.body.estado).to.be.eq('suspendida');
});
cy.toast('success', 'La agenda cambió el estado a Suspendida').click();
cy.toast('success', 'La agenda cambió el estado a Suspendida');
cy.get('table tbody td').contains('examen pediátrico').click();
cy.wait('@findAgenda');
cy.get('table tbody td').plexBadge('Suspendida');
Expand Down
6 changes: 4 additions & 2 deletions cypress/e2e/apps/com/com.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,9 @@ context('CENTRO OPERATIVO MÉDICO', () => {
cy.plexTextArea('label="Observacion"', 'derivación finalizada');
cy.plexButton("Guardar").click();
cy.plexSelectType('label="Estado"').click().get('.option').contains('FINALIZADA').click();
cy.get(':nth-child(2)>.plex-label').contains('Solicitante: Huenchuman, Natalia').should('have.length', 1);
cy.get(':nth-child(2)>.plex-label').contains('Solicitante: Huenchuman, Natalia').first().click();
cy.wait(1000);
cy.get('plex-label').contains('Solicitante: Huenchuman, Natalia').should('have.length', 1);
cy.get('plex-label').contains('Solicitante: Huenchuman, Natalia').first().click();
cy.get('plex-options div div button').contains('HISTORIAL').click({ force: true });
cy.get('plex-panel').should('have.length', 5);
});
Expand Down Expand Up @@ -334,6 +335,7 @@ context('CENTRO OPERATIVO MÉDICO', () => {
cy.plexTextArea('label="Observacion"', 'derivación finalizada');
cy.plexButton("Guardar").click();
cy.plexSelectType('label="Estado"').click().get('.option').contains('FINALIZADA').click();
cy.wait(1000);
cy.get('plex-label').contains('Solicitante: PRUEBA, ALICIA').should('have.length', 1);
cy.get('plex-label').contains('Solicitante: PRUEBA, ALICIA').first().click();
cy.get('plex-options div div button').contains('HISTORIAL').click({ force: true });
Expand Down

0 comments on commit 7cf1ad6

Please sign in to comment.