diff --git a/.storybook/index.css b/.storybook/index.css index 3c0301c5c2b0..48ebae78fe46 100644 --- a/.storybook/index.css +++ b/.storybook/index.css @@ -9,8 +9,8 @@ margin-top: auto !important; } -.snap-ui-renderer__content { - margin-bottom: 0 !important; +.snap-ui-renderer__container { + padding-bottom: 0 !important; } .snap-ui-renderer__panel { diff --git a/test/e2e/snaps/test-snap-dialog.spec.js b/test/e2e/snaps/test-snap-dialog.spec.js index e799c4596e6c..a893be4847b4 100644 --- a/test/e2e/snaps/test-snap-dialog.spec.js +++ b/test/e2e/snaps/test-snap-dialog.spec.js @@ -45,9 +45,6 @@ describe('Test Snap Dialog', function () { tag: 'button', }); - // click and dismiss possible scroll element - await driver.clickElementSafe('[data-testid="snap-install-scroll"]'); - // wait for and click confirm await driver.waitForSelector({ text: 'Confirm' }); await driver.clickElement({ @@ -151,9 +148,6 @@ describe('Test Snap Dialog', function () { // switch to dialog popup await driver.switchToWindowWithTitle(WINDOW_TITLES.Dialog); - // click and dismiss possible scroll element - await driver.clickElementSafe('[data-testid="snap-install-scroll"]'); - // click cancel button and wait for window to close await driver.clickElementAndWaitForWindowToClose({ text: 'Cancel', @@ -200,9 +194,6 @@ describe('Test Snap Dialog', function () { // switch to dialog popup await driver.switchToWindowWithTitle(WINDOW_TITLES.Dialog); - // click and dismiss possible scroll element - await driver.clickElementSafe('[data-testid="snap-install-scroll"]'); - // click cancel button and wait for window to close await driver.clickElementAndWaitForWindowToClose({ text: 'Cancel', @@ -227,9 +218,6 @@ describe('Test Snap Dialog', function () { // fill '2323' in form field await driver.pasteIntoField('#custom-input', '2323'); - // click and dismiss possible scroll element - await driver.clickElementSafe('[data-testid="snap-install-scroll"]'); - // click confirm button and wait for window to close await driver.clickElementAndWaitForWindowToClose({ text: 'Confirm', diff --git a/ui/components/app/assets/nfts/nft-details/__snapshots__/nft-details.test.js.snap b/ui/components/app/assets/nfts/nft-details/__snapshots__/nft-details.test.js.snap index 4479223ec064..32778e3b60f9 100644 --- a/ui/components/app/assets/nfts/nft-details/__snapshots__/nft-details.test.js.snap +++ b/ui/components/app/assets/nfts/nft-details/__snapshots__/nft-details.test.js.snap @@ -3,7 +3,7 @@ exports[`NFT Details should match minimal props and state snapshot 1`] = `