Fix feature test

- Fix feature test for the dialog box error.

- Fix feature test for MySQL2 error.