This commit is contained in:
@@ -108,6 +108,19 @@ test('candidate profile renders geography and retained version without internal
|
||||
...page.props,
|
||||
companyId: 1,
|
||||
email: 'test@example.invalid',
|
||||
submissions: [
|
||||
{
|
||||
id: 8,
|
||||
reference: 'CAND-FICTICIA',
|
||||
created_at: '2026-10-30',
|
||||
title: 'Título preservado do processo',
|
||||
},
|
||||
],
|
||||
submissionPagination: {
|
||||
prev: null,
|
||||
next: '/candidaturas/1/perfil?submissions_page=2',
|
||||
total: 21,
|
||||
},
|
||||
accessStatus: 'opportunity_unavailable',
|
||||
profile: {
|
||||
version: 3,
|
||||
@@ -131,6 +144,9 @@ test('candidate profile renders geography and retained version without internal
|
||||
expect(html).toContain('value="Distrito fictício"');
|
||||
expect(html).toContain('value="Localidade fictícia"');
|
||||
expect(html).toContain('Guardar nova versão do perfil');
|
||||
expect(html).toContain('Título preservado do processo');
|
||||
expect(html).toContain('Mais comprovativos');
|
||||
expect(html).toContain('/candidaturas/1/perfil?submissions_page=2');
|
||||
expect(html).toContain('a oportunidade escolhida já não está disponível');
|
||||
expect(html).not.toContain('Aprovar');
|
||||
expect(html).not.toContain('/pessoas');
|
||||
|
||||
Reference in New Issue
Block a user