Shanghai will require all of its 16 districts to organise mass COVID testing for residents every weekend until the end of July, a city official said on Wednesday.