fix reschedule timeline expectation

This commit is contained in:
Yisroel Baum 2026-08-22 22:03:16 +03:00
parent e5d4402f2c
commit 7ce8fdc4be
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -607,6 +607,10 @@ describe('set scheduling', () => {
cy.get('.schedule-range').should('contain.text', 'Aug 10, 2026 to Aug 16, 2026')
cy.get('[data-assignment-section="remaining"] [data-schedule-day]').then(($days) => {
expect([...$days].map((day) => day.getAttribute('data-schedule-date'))).to.deep.equal([
'2026-08-11',
'2026-08-12',
'2026-08-13',
'2026-08-14',
'2026-08-15',
'2026-08-16',
])