feat: stabilize fragile recorded test selectors (#4268)