test(C134): asserção do término como string exata (convenção: sem regex de template não ancorado)
This commit is contained in:
parent
fe0a7999a9
commit
db8ee29229
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue