mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-26 04:53:10 +00:00
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 endPicker.getByRole('button', { name: endDayLabel }).click()
|
||||||
await page.keyboard.press('Escape')
|
await page.keyboard.press('Escape')
|
||||||
await expect(page.getByRole('button', { name: 'Término', exact: true })).toHaveText(
|
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)
|
await page.getByLabel('Título *').fill(title)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue