Refactor specs to support multiple records in the shared example non_archived_result

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Support multiple records testing in the non_archived_result for the shared example. The following discussion from !126145 (merged) should be addressed:

  • @sdungarwal started a discussion: (+2 comments)

    Can you consider using search results filtered by archived shared example, you can refer here

Edited by 🤖 GitLab Bot 🤖