test(C134): asserção do término como string exata (convenção: sem regex de template não ancorado)

This commit is contained in:
Francisco Solla 2026-08-13 15:06:41 -03:00
parent fe0a7999a9
commit db8ee29229

View file

@ -323,7 +323,7 @@ test.describe('Agenda — calendário operacional', () => {
await endPicker.getByRole('button', { name: endDayLabel }).click()
await page.keyboard.press('Escape')
await expect(page.getByRole('button', { name: 'Término', exact: true })).toHaveText(
new RegExp(`${endDay}/${endMonth}/${endYear}`),
`${endDay}/${endMonth}/${endYear}`,
)
await page.getByLabel('Título *').fill(title)