diff --git a/api-catalog-ui/frontend/src/components/Error/ErrorDialog.test.jsx b/api-catalog-ui/frontend/src/components/Error/ErrorDialog.test.jsx
index ec08806754..e423873b56 100644
--- a/api-catalog-ui/frontend/src/components/Error/ErrorDialog.test.jsx
+++ b/api-catalog-ui/frontend/src/components/Error/ErrorDialog.test.jsx
@@ -12,7 +12,7 @@ describe('>>> ErrorDialog component tests', () => {
messageType: 'ERROR',
};
const wrapper = shallow();
- expect(wrapper.find('DialogBody').exists()).toEqual(true);
+ expect(wrapper.find('[data-testid="dialog-content"]').exists()).toEqual(true);
});
it('should not render the ErrorDialog if there is not an error while refreshing apis', () => {
diff --git a/api-catalog-ui/frontend/src/components/Error/ErrorFormatter.jsx b/api-catalog-ui/frontend/src/components/Error/ErrorFormatter.jsx
index c34ca6132f..c74b01dabe 100644
--- a/api-catalog-ui/frontend/src/components/Error/ErrorFormatter.jsx
+++ b/api-catalog-ui/frontend/src/components/Error/ErrorFormatter.jsx
@@ -1,4 +1,4 @@
-import { Text } from 'mineral-ui';
+import { Typography } from '@material-ui/core';
import renderHTML from 'react-render-html';
import uuidv4 from 'uuid/v4';
@@ -24,9 +24,9 @@ function extractAjaxError(error) {
function formaHtmlError(message, color) {
return (
-
+
{renderHTML(message)}
-
+
);
}
diff --git a/api-catalog-ui/frontend/src/components/ErrorBoundary/BigShield/BigShield.jsx b/api-catalog-ui/frontend/src/components/ErrorBoundary/BigShield/BigShield.jsx
index c9a4058ef5..78a344f2c8 100644
--- a/api-catalog-ui/frontend/src/components/ErrorBoundary/BigShield/BigShield.jsx
+++ b/api-catalog-ui/frontend/src/components/ErrorBoundary/BigShield/BigShield.jsx
@@ -1,8 +1,7 @@
/* eslint-disable react/destructuring-assignment */
import { Component } from 'react';
-import Text from 'mineral-ui/Text';
-import { Button } from 'mineral-ui';
-import IconChevronLeft from 'mineral-ui-icons/IconChevronLeft';
+import { Typography, Button } from '@material-ui/core';
+import ArrowBackIosNewIcon from '@material-ui/icons/ArrowBackIos';
import '../../Dashboard/Dashboard.css';
import './BigShield.css';
@@ -29,7 +28,7 @@ export default class BigShield extends Component {
};
render() {
- const iconBack = ;
+ const iconBack = ;
const { history } = this.props;
let disableButton = true;
if (history !== undefined && history !== null) {
@@ -61,11 +60,11 @@ export default class BigShield extends Component {
)}
-
+
An unexpected browser error occurred
-
+
-
+
You are seeing this page because an unexpected error occurred while rendering your page.
@@ -75,12 +74,12 @@ export default class BigShield extends Component {
{!disableButton && (
You can return to the Dashboard by clicking on the button above.
)}
-
-
+
+