fix(web): disable HTML escaping for form field validation messages (#31292)

This commit is contained in:
yyh
2026-01-20 18:43:01 +08:00
committed by GitHub
parent 3ebe53ada1
commit 54921844bb
16 changed files with 52 additions and 55 deletions

View File

@ -23,7 +23,7 @@ describe('GetSchema', () => {
it('shows an error when the URL is not http', () => {
fireEvent.click(screen.getByText('tools.createTool.importFromUrl'))
const input = screen.getByPlaceholderText('tools.createTool.importFromUrlPlaceHolder')
// eslint-disable-next-line sonarjs/no-clear-text-protocols
fireEvent.change(input, { target: { value: 'ftp://invalid' } })
fireEvent.click(screen.getByText('common.operation.ok'))