diff --git a/frontend/jupyter/cypress/e2e/form-page.cy.ts b/frontend/jupyter/cypress/e2e/form-page.cy.ts index 932f8d7b..b5e80078 100644 --- a/frontend/jupyter/cypress/e2e/form-page.cy.ts +++ b/frontend/jupyter/cypress/e2e/form-page.cy.ts @@ -125,13 +125,13 @@ describe('New notebook form', () => { cy.get('[data-cy-advanced-options-button]').click(); cy.get('[data-cy-form-input="cpu"]').find('input').clear(); // minimum value - cy.get('[data-cy-form-input="cpu"]').find('input').type('0.1'); + cy.get('[data-cy-form-input="cpu"]').find('input').type('0.01'); cy.get('[data-cy-form-input="cpu"]') .find('input') .should('have.class', 'ng-invalid'); cy.get('[data-cy-form-input="cpu"]') .find('mat-error') - .should('have.text', 'Specify at least 0.5 CPUs'); + .should('have.text', 'Specify at least 0.1 CPUs'); cy.get('[data-cy-form-input="cpu"]').find('input').clear(); // maximum value cy.get('[data-cy-form-input="cpu"]').find('input').type('40.0'); @@ -166,7 +166,7 @@ describe('New notebook form', () => { .should('have.class', 'ng-invalid'); cy.get('[data-cy-form-input="memory"]') .find('mat-error') - .should('have.text', 'Specify at least 1Gi of memory'); + .should('have.text', 'Specify at least 0.5Gi of memory'); cy.get('[data-cy-form-input="memory"]').find('input').clear(); // maximum value cy.get('[data-cy-form-input="memory"]').find('input').type('90.0');