add set scheduling ui

This commit is contained in:
Yisroel Baum 2026-08-10 20:16:44 +03:00
parent b7fb594c26
commit 7e9e93f8d0
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
8 changed files with 1182 additions and 8 deletions

View file

@ -120,12 +120,9 @@ describe('set scheduling', () => {
cy.location('pathname').should('equal', '/sets/41/schedules/new')
cy.get('h1').should('have.text', 'Schedule Bible')
cy.get('#schedule-level option').then(($options) => {
expect([...$options].map((option) => option.textContent)).to.deep.equal([
'Choose a level',
'Book (2)',
'Portion (1)',
'Chapter (2)',
])
expect([...$options].map((option) => option.textContent?.trim())).to.deep.equal(
['Choose a level', 'Book (2)', 'Portion (1)', 'Chapter (2)'],
)
})
cy.get('#schedule-level').select('chapter')
cy.get('#schedule-start-date').type('2026-08-10')