fix(C139): specs do leader home apontam para meus-contatos (decisão A)
O C139 moveu o leader tool de /campanha/contatos para /campanha/meus-contatos (LEADER_CONTACTS_HOME); campaignConcepts e campaignHomeActions ainda assertavam o redirect/link antigos — o gate e2e full pegou os dois.
This commit is contained in:
parent
438ac727fe
commit
89867fd884
2 changed files with 2 additions and 2 deletions
|
|
@ -64,7 +64,7 @@ test.describe('Conceitos de inteligência', () => {
|
|||
|
||||
await page.goto('/campanha/conceitos')
|
||||
|
||||
await expect(page).toHaveURL(/\/campanha\/contatos\/?$/)
|
||||
await expect(page).toHaveURL(/\/campanha\/meus-contatos\/?$/)
|
||||
await expect(campaignPageChrome(page, 'Conceitos de inteligência')).toHaveCount(0)
|
||||
})
|
||||
})
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ test.describe('Início — catálogo de ações (B45)', () => {
|
|||
await expect(page.getByRole('link', { name: 'Ver meus contatos', exact: true })).toBeVisible()
|
||||
|
||||
await page.getByRole('link', { name: 'Ver meus contatos', exact: true }).click()
|
||||
await page.waitForURL(/\/campanha\/contatos/)
|
||||
await page.waitForURL(/\/campanha\/meus-contatos/)
|
||||
await expect(page.getByRole('heading', { name: /Meus contatos/ })).toBeVisible()
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue