missing .xctest file

My APPUITests.xctest and APPTests.xctest files is empty. The words 'APPUITests.xctest' and 'APPTests.xctest' are red. I deleted them and recreated them in 'Targets'. But the new ones are still empty. What should I do? Thank you.

Same here with an older Swift/SwiftUI project on XCode 14

missing .xctest file
 
 
Q