diff --git a/static/src/js/components/SearchPanels/SearchPanels.jsx b/static/src/js/components/SearchPanels/SearchPanels.jsx index 9952f897a3..f59942ce90 100644 --- a/static/src/js/components/SearchPanels/SearchPanels.jsx +++ b/static/src/js/components/SearchPanels/SearchPanels.jsx @@ -31,8 +31,6 @@ import { collectionSortKeys } from '../../constants/collectionSortKeys' import AuthRequiredContainer from '../../containers/AuthRequiredContainer/AuthRequiredContainer' import CollectionResultsBodyContainer from '../../containers/CollectionResultsBodyContainer/CollectionResultsBodyContainer' -// Import CollectionDetailsBodyContainer - // from '../../containers/CollectionDetailsBodyContainer/CollectionDetailsBodyContainer' import GranuleDetailsBodyContainer from '../../containers/GranuleDetailsBodyContainer/GranuleDetailsBodyContainer' import GranuleResultsBodyContainer @@ -588,7 +586,7 @@ class SearchPanels extends PureComponent { > }> - + diff --git a/static/src/js/containers/CollectionDetailsBodyContainer/CollectionDetailsBodyContainer.jsx b/static/src/js/containers/CollectionDetailsBodyContainer/CollectionDetailsBodyContainer.jsx index f4fa530b31..4546e6aee7 100644 --- a/static/src/js/containers/CollectionDetailsBodyContainer/CollectionDetailsBodyContainer.jsx +++ b/static/src/js/containers/CollectionDetailsBodyContainer/CollectionDetailsBodyContainer.jsx @@ -41,13 +41,9 @@ export const CollectionDetailsBodyContainer = ({ /> ) -CollectionDetailsBodyContainer.defaultProps = { - isActive: false -} - CollectionDetailsBodyContainer.propTypes = { collectionMetadata: PropTypes.shape({}).isRequired, - isActive: PropTypes.bool, + isActive: PropTypes.bool.isRequired, location: PropTypes.shape({}).isRequired, onFocusedCollectionChange: PropTypes.func.isRequired, onMetricsRelatedCollection: PropTypes.func.isRequired, diff --git a/tests/e2e/map/map_granules.spec.js b/tests/e2e/map/map_granules.spec.js index 7ff1af49da..779fd0032c 100644 --- a/tests/e2e/map/map_granules.spec.js +++ b/tests/e2e/map/map_granules.spec.js @@ -386,7 +386,7 @@ test.describe('Map: Granule interactions', () => { test('displays color map data to the user', async ({ page }) => { await page.getByTestId('legend').hover({ position: { - x: 110, + x: 113, y: 5 } }) @@ -415,7 +415,7 @@ test.describe('Map: Granule interactions', () => { await expect(page).toHaveScreenshot('colormap-2-screenshot.png', { clip: { x: 1138, - y: 263, + y: 260, width: 252, height: 47 } diff --git a/tests/e2e/panels/panels_behavior.spec.js b/tests/e2e/panels/panels_behavior.spec.js index eb5d9fb7ab..66cd52d839 100644 --- a/tests/e2e/panels/panels_behavior.spec.js +++ b/tests/e2e/panels/panels_behavior.spec.js @@ -87,6 +87,6 @@ test.describe('Panel Behavior', () => { test('drags the panel to maximum width', async ({ page }) => { await dragPanelToX(page, 1500) - await expect(page.getByTestId('panels-section')).toHaveCSS('width', '925px') + await expect(page.getByTestId('panels-section')).toHaveCSS('width', '916px') }) }) diff --git a/tests/e2e/tour/tour.spec.js b/tests/e2e/tour/tour.spec.js index 6cf545ce53..ea02dbe384 100644 --- a/tests/e2e/tour/tour.spec.js +++ b/tests/e2e/tour/tour.spec.js @@ -347,9 +347,9 @@ test.describe('When not logged in', () => { expectWithinMargin(spotlightRect, { left: -10, - top: 185, - width: 329, - height: 697 + top: 189, + width: 338, + height: 742 }, 10, 6) // Step 7: Refine Search by Category