A test clicks "View invoice" and then looks for the invoice number. It fails, saying the element is not there.
The invoice opened in a new tab. Your test is still looking at the old one. Playwright did not follow the click, because pages do not automatically become the active one.
The fix has one detail that catches everybody, so read the order carefully.