Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
poroshinaleksei committed Feb 25, 2025
1 parent d7d4045 commit d8f3cb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cypress/e2e/SendBrevIAvsluttetSak/SendBrevIAvsluttetSak.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ describe('Send brev i avsluttet sak', { testIsolation: false }, () => {
cy.findByText(/Feltet inneholder ugyldige tegn:/i).should('not.exist');
});

/*
Testen er deaktivert fordi feiler av og til på grunn av åpning av nytt vindu.
it('skal forhåndsvise brevet', () => {
cy.findByRole('button', { name: /Forhåndsvis brev/i }).click();
cy.findByText('Not Found').should('exist');
Expand Down Expand Up @@ -146,7 +148,7 @@ describe('Send brev i avsluttet sak', { testIsolation: false }, () => {
cy.findByRole('button', { name: /Forhåndsvis brev/i }).click();
cy.findByText('Not Found').should('not.exist');
});
});*/

it('skal sende brevet', () => {
cy.intercept('POST', ApiPath.BREV_BESTILL, (req) => {
Expand Down

0 comments on commit d8f3cb4

Please sign in to comment.