fix(e2e): use correct submit label 'Criar atividade' from nova page

This commit is contained in:
Francisco Ignácio Fontoura Solla 2026-08-06 06:09:11 -03:00
parent 86ceeaaf00
commit 30de02fd89

View file

@ -31,7 +31,7 @@ test.describe('Atividades — registro-fundação', () => {
await page.getByLabel('Título da demanda 2').fill(materialDemand)
await page.getByLabel('Tipo da demanda 2').selectOption('material')
await page.getByRole('button', { name: 'Criar compromisso' }).click()
await page.getByRole('button', { name: 'Criar atividade' }).click()
await expect(page).toHaveURL(/\/campanha\/atividades\/[^/?]+$/)
await expect(campaignPageChrome(page, activityTitle)).toBeVisible({
timeout: 15_000,