diff --git a/cypress/e2e/job/preheats/preheat.cy.ts b/cypress/e2e/job/preheats/preheat.cy.ts index e877f653..3b4fa716 100644 --- a/cypress/e2e/job/preheats/preheat.cy.ts +++ b/cypress/e2e/job/preheats/preheat.cy.ts @@ -192,7 +192,7 @@ describe('Preheat', () => { // Show preheat headers. cy.get('#headers').children().should('have.length', 1); - cy.wait(1200); + cy.wait(120000); // Check how many times the API should be executed after six seconds. cy.get('@preheat').then(() => { @@ -214,7 +214,7 @@ describe('Preheat', () => { ); // Preheat fails after three seconds. - cy.wait(600); + cy.wait(60000); // Show preheat status. cy.get('#status') @@ -372,7 +372,7 @@ describe('Preheat', () => { // Show preheat headers. cy.get('#headers').children().should('have.length', 1); - cy.wait(1200); + cy.wait(120000); // Check how many times the API should be executed after six seconds. cy.get('@preheat').then(() => { @@ -394,7 +394,7 @@ describe('Preheat', () => { ); // Preheat API error response after three seconds. - cy.wait(600); + cy.wait(60000); // Show error message. cy.get('.MuiAlert-message').should('be.visible').and('contain', 'Unauthorized'); diff --git a/src/components/job/preheats/show.tsx b/src/components/job/preheats/show.tsx index aaa55112..ada90986 100644 --- a/src/components/job/preheats/show.tsx +++ b/src/components/job/preheats/show.tsx @@ -106,7 +106,7 @@ export default function ShowPreheat() { }; pollPreheat(); - }, 600); + }, 60000); return () => { clearInterval(pollingInterval);