@KKKK1947 Welcome the community
Kindly refer the similar post here.
You need to use to.be.oneOf([“Pass”, “Fail”, “No result”, “Error”, “On hold”])