The user management table has three rows — each with an identical-looking «Delete» button. You must click only the button in the «Əli Həsənov» row.
To disambiguate table rows, use row filtering (filter({ hasText })): first narrow down to the right row, then use getByRole to reach its button. In real Playwright, chain .filter({ hasText }) to find the row, then .getByRole('button') to get the button.
page is already available.
This approach is the most reliable way to distinguish table rows that have no unique id.