.... maybe ....
It depends on the purpose of the test.
For example, a trillion dollar question is still long covid. Very significant numbers of people are on disability right now. About 10% of Americans have some form of long covid, and >1% are unable to work due to long covid (or >2% of the workforce). Long covid comes up even with mild and asymptomatic cases, and seems to have a strong autoimmune component. If you're trying to understand where those sorts of symptoms came from, it's good to know whether or not you had covid before they started.
Given that we don't understand what's going on here medically at all, it's not immediately useful, but it may be useful to know as treatments come up. A big part of the reason why I test is simply to know.
There are many other potential purposes one might have for testing too. For example, studies might want to track prevalence of covid in populations. It's good to know, methodologically, what they're tracking.