You’re misunderstanding the instructions. They say:
Given the array arr , iterate through and remove each element starting from the first element (the 0 index) until the function func returns true when the iterated element is passed through it.
What you’re missing is "until the function func returns true ". In other words, once you encounter something that returns true, stop removing items.
The test cases are fine. Thes problem has been done by tens of thousands of people.