;
diff --git a/plugins/events-node/src/api/http/validation/index.ts b/plugins/events-node/src/api/http/validation/index.ts
index 95f2d474eb..11f2e9f1f6 100644
--- a/plugins/events-node/src/api/http/validation/index.ts
+++ b/plugins/events-node/src/api/http/validation/index.ts
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+export type { RequestDetails } from './RequestDetails';
export type { RequestRejectionDetails } from './RequestRejectionDetails';
export type { RequestValidationContext } from './RequestValidationContext';
export type { RequestValidator } from './RequestValidator';
diff --git a/plugins/explore/src/components/GroupsExplorerContent/GroupsDiagram.tsx b/plugins/explore/src/components/GroupsExplorerContent/GroupsDiagram.tsx
index 23553b8b76..674ef1e43f 100644
--- a/plugins/explore/src/components/GroupsExplorerContent/GroupsDiagram.tsx
+++ b/plugins/explore/src/components/GroupsExplorerContent/GroupsDiagram.tsx
@@ -43,8 +43,10 @@ import useAsync from 'react-use/lib/useAsync';
const useStyles = makeStyles((theme: BackstageTheme) => ({
graph: {
- flex: 1,
- minHeight: 0,
+ minHeight: '100%',
+ },
+ graphWrapper: {
+ height: '100%',
},
organizationNode: {
fill: theme.palette.secondary.light,
@@ -62,6 +64,15 @@ const useStyles = makeStyles((theme: BackstageTheme) => ({
justifyContent: 'center',
color: 'black',
},
+ legend: {
+ position: 'absolute',
+ bottom: 0,
+ right: 0,
+ padding: theme.spacing(1),
+ '& .icon': {
+ verticalAlign: 'bottom',
+ },
+ },
textOrganization: {
color: theme.palette.secondary.contrastText,
},
@@ -221,7 +232,7 @@ export function GroupsDiagram() {
}
return (
- <>
+
+
- Use pinch & zoom
- to move around the diagram.
+ Use pinch & zoom to move around the
+ diagram.
- >
+
);
}
diff --git a/plugins/gocd/src/components/Select/Select.test.tsx b/plugins/gocd/src/components/Select/Select.test.tsx
index fb467b946f..9d73194ed8 100644
--- a/plugins/gocd/src/components/Select/Select.test.tsx
+++ b/plugins/gocd/src/components/Select/Select.test.tsx
@@ -40,7 +40,7 @@ describe('Select', () => {
expect(rendered.getAllByText(testLabel)).toHaveLength(2);
});
- describe('when the user hasn`t clicked on it', () => {
+ describe("when the user hasn't clicked on it", () => {
it('should only render the current select item', async () => {
const rendered = await renderInTestApp(
', () => {
it('renders nothing', async () => {
const { queryByTestId } = subject();
- expect(await queryByTestId('AuditListTable')).toBeNull();
+ expect(queryByTestId('AuditListTable')).toBeNull();
});
});
@@ -137,7 +137,7 @@ describe('', () => {
it('renders nothing', async () => {
const { queryByTestId } = subject();
- expect(await queryByTestId('AuditListTable')).toBeNull();
+ expect(queryByTestId('AuditListTable')).toBeNull();
});
});
});
diff --git a/plugins/lighthouse/src/components/Cards/LastLighthouseAuditCard.test.tsx b/plugins/lighthouse/src/components/Cards/LastLighthouseAuditCard.test.tsx
index 58a3033a1f..ab1e2683b6 100644
--- a/plugins/lighthouse/src/components/Cards/LastLighthouseAuditCard.test.tsx
+++ b/plugins/lighthouse/src/components/Cards/LastLighthouseAuditCard.test.tsx
@@ -151,10 +151,10 @@ describe('', () => {
it('renders nothing', async () => {
const { queryByTestId } = subject();
- expect(await queryByTestId('AuditListTable')).toBeNull();
+ expect(queryByTestId('AuditListTable')).toBeNull();
});
});
- //
+
describe('where there is no data', () => {
beforeEach(() => {
(useWebsiteForEntity as jest.Mock).mockReturnValue({
@@ -166,7 +166,7 @@ describe('', () => {
it('renders nothing', async () => {
const { queryByTestId } = subject();
- expect(await queryByTestId('AuditListTable')).toBeNull();
+ expect(queryByTestId('AuditListTable')).toBeNull();
});
});
});
diff --git a/plugins/org-react/src/components/GroupListPicker/GroupListPicker.test.tsx b/plugins/org-react/src/components/GroupListPicker/GroupListPicker.test.tsx
index b8a499b8fe..21b85ffe5c 100644
--- a/plugins/org-react/src/components/GroupListPicker/GroupListPicker.test.tsx
+++ b/plugins/org-react/src/components/GroupListPicker/GroupListPicker.test.tsx
@@ -15,7 +15,8 @@
*/
import React from 'react';
-import { fireEvent, render, waitFor } from '@testing-library/react';
+import { render, waitFor } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
import { ApiProvider } from '@backstage/core-app-api';
import { catalogApiRef } from '@backstage/plugin-catalog-react';
import { CatalogApi } from '@backstage/catalog-client';
@@ -74,13 +75,13 @@ describe('', () => {