test: Replace alert part test with testing lib (#35736)
test: Replace alert part test with testing lib (#35736)

Co-authored-by: chenkan1 <b7ce0243f6eb3a602e554b2b06874fb26e314c15@huya.com>
icaife/ant-design,elevensky/ant-design,zheeeng/ant-design,ant-design/ant-design,zheeeng/ant-design,ant-design/ant-design,ant-design/ant-design,zheeeng/ant-design,icaife/ant-design,elevensky/ant-design,zheeeng/ant-design,ant-design/ant-design,icaife/ant-design,icaife/ant-design,elevensky/ant-design,elevensky/ant-design