Which begs the question - How did the US flight conduct flight tests on their B-2 Spirit back then?
I don't recall the USAF conducting any special measures for its first flight to be done any particular secrecy -- especially given it was actually publicly displayed in November 1988, and then only made its first flight half a year later in July 1989.
Really, so far as secrecy for developing major new aerospace projects like this goes, using extreme measures to hide the first flight of an aircraft as large as a bomber, is not that feasible in this age of modern sensors and probably not worth the risk to the flight testing regime.
Having the world confirm that you've flown a flying wing stealthy strategic bomber really is not that much of a scoop these days, especially in the case of H-20 when everyone's been expecting it to emerge for years (and the proper intelligence services of the world have certainly been expecting it).
What's more important would be trying to keep certain detailed imagery and minor details of the aircraft under closer wraps, meaning we probably won't get high quality imagery of the aircraft in the immediate months and years after the aircraft flies, but that is also pretty much the case with all new PLA aircraft anyhow.
If it was a fighter sized aircraft then perhaps it could be hidden a bit more easily, perhaps even with a degree of success (though there are a lot of satellites around these days) -- but a strategic bomber? That would be very difficult.