fix: patch Next security advisories and refresh workflow assertions

This commit is contained in:
cesnimda
2026-11-17 20:09:51 +01:00
parent 81d56fc9fb
commit a681bdd7fa
3 changed files with 52 additions and 52 deletions
@@ -231,7 +231,7 @@ test('reminders open action routes tailored-cv gaps into the tailored cv workspa
const platformJob = await screen.findByText(/platform engineer/i);
const platformCard = platformJob.closest('.MuiPaper-root') ?? platformJob.parentElement?.parentElement;
expect(platformCard).toBeTruthy();
fireEvent.click(within(platformCard as HTMLElement).getByRole('button', { name: /build package/i }));
fireEvent.click(within(platformCard as HTMLElement).getByRole('button', { name: /prepare application/i }));
await waitFor(() => expect(screen.getByTestId('location-indicator')).toHaveTextContent('/jobs/43?section=cv'));
expect(screen.getByTestId('application-workspace')).toBeInTheDocument();
@@ -248,7 +248,7 @@ test('job table urgency signals and next actions route into the shared workspace
firstRender.unmount();
renderLoop('/jobs');
fireEvent.click(await screen.findByRole('button', { name: /platform engineer.*build package signal/i }));
fireEvent.click(await screen.findByRole('button', { name: /platform engineer.*prepare application signal/i }));
await waitFor(() => expect(screen.getByTestId('location-indicator')).toHaveTextContent('/jobs/43?section=cv'));
expect(screen.getByTestId('application-workspace')).toBeInTheDocument();