📄️查询 DOMTesting Library 的查询按 是否等待 和 找不到时的行为 分成三组。优先按 查询优先级 选:先 getByRole / getByLabelText,少用 getByTestId。📄️模拟交互事件fireEvent
📄️查询 DOMTesting Library 的查询按 是否等待 和 找不到时的行为 分成三组。优先按 查询优先级 选:先 getByRole / getByLabelText,少用 getByTestId。