How to select the table checkbox with Playwright

I’m trying to select a row from a table by person’s name and selecting the checkbox in the table. I’ve tried all these methods, but none have worked.

const linha = page.getByRole('row', { name: 'MENSALISTA É ESSE TESTE NOVO' });
await linha.getByRole('checkbox').click();
const linha = page.locator('tr').filter({ hasText: 'MENSALISTA É ESSE TESTE NOVO' });
await linha.getByRole('checkbox').click();
const linha = page.locator('tr').filter({ hasText: 'MENSALISTA É ESSE TESTE NOVO' });
await linha.locator('td').first().click();
const linha = page.locator('tr').filter({ hasText: 'MENSALISTA É ESSE TESTE NOVO' });
await linha.locator('input[type="checkbox"]').click();
const linha = page.locator('tr').filter({ hasText: 'MENSALISTA É ESSE TESTE NOVO' });
await linha.locator('input[type="checkbox"]').click({ force: true });