fix: restore full test suite

Separate the internal API and nginx ports, align browser BDD fixtures with tenant and Go Loose requirements, and correct the invitation outcome interaction order.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Daniel Noulet 2026-10-02 23:41:40 +02:00
parent 0de20d20f5
commit 660d5291ec
8 changed files with 44 additions and 8 deletions

View file

@ -749,8 +749,8 @@ describe('Go Guess frontend', () => {
renderApp('/jobs/7')
await user.click(await screen.findByRole('tab', { name: /invitations/i }))
await user.click(screen.getByRole('button', { name: 'Review answers' }))
await user.click(await screen.findByRole('button', { name: 'Pass candidate' }))
await user.click(screen.getByRole('button', { name: 'Fail candidate' }))
await user.click(await screen.findByRole('button', { name: 'Fail candidate' }))
await user.click(screen.getByRole('button', { name: 'Pass candidate' }))
expect(fetch).toHaveBeenCalledWith(
'/api/jobs/7/invitations/44/outcome',