mirror of
https://github.com/apache/superset.git
synced 2026-04-27 12:05:24 +00:00
test: ErrorMessage components tests (#13358)
* Add tests for ErrorAlert * Add BasicErrorAlert tests * Add DatabaseErrorMessage tests * Add useRedux property * Finalize DatabaseErrorMessage tests * Add ErrorMessageWithStackTrace tests * Move getErrorMessageComponentRegistry test to dedicated directory * Clean up getErrorMessageComponentRegistry * Add IssueCode tests * Add tests for ParameterErrorMessage * Add tests for TimeoutErrorMessage * Fix linting issue
This commit is contained in:
@@ -103,7 +103,7 @@ export default function ErrorAlert({
|
||||
const isExpandable = ['explore', 'sqllab'].includes(source);
|
||||
|
||||
return (
|
||||
<ErrorAlertDiv level={level}>
|
||||
<ErrorAlertDiv level={level} role="alert">
|
||||
<div className="top-row">
|
||||
<LeftSideContent>
|
||||
<Icon
|
||||
|
||||
Reference in New Issue
Block a user