diff --git a/frontend/website/cypress/e2e/set-scheduling.cy.ts b/frontend/website/cypress/e2e/set-scheduling.cy.ts index d7114d0..b799db0 100644 --- a/frontend/website/cypress/e2e/set-scheduling.cy.ts +++ b/frontend/website/cypress/e2e/set-scheduling.cy.ts @@ -259,7 +259,7 @@ describe('set scheduling', () => { ) }) - it('places heavier days where the user chooses', () => { + it('spreads heavier days where the user chooses', () => { cy.intercept('GET', '**/api/sets/41', { statusCode: 200, body: overloadedBibleLayout, @@ -270,7 +270,7 @@ describe('set scheduling', () => { levelId: 3, startDate: '2026-08-10', targetDate: '2026-08-14', - workloadPlacement: 'end', + workloadPlacement: 'spread', }) request.reply({ statusCode: 201, body: scheduleDetail }) }).as('createSchedule') @@ -286,8 +286,9 @@ describe('set scheduling', () => { cy.get('[data-workload-placement]').should('be.visible').within(() => { cy.contains('legend', 'Heavier days').should('be.visible') + cy.contains('Spread evenly').should('be.visible') cy.get('input[value="middle"]').should('be.checked') - cy.get('input[value="end"]').check() + cy.get('input[value="spread"]').check() }) cy.get('form').submit() cy.wait('@createSchedule')