add set scheduling ui
This commit is contained in:
parent
b7fb594c26
commit
7e9e93f8d0
8 changed files with 1182 additions and 8 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue