fix(e2e): use correct submit label 'Criar atividade' from nova page
This commit is contained in:
parent
86ceeaaf00
commit
30de02fd89
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue