diff --git a/test/e2e/display.test.js b/test/e2e/display.test.js index bea154027..bb2437f0f 100644 --- a/test/e2e/display.test.js +++ b/test/e2e/display.test.js @@ -43,16 +43,6 @@ maybeDescribe('Display', () => { assertVisualRegressionThreshold(await browser.checkElement(await $('.test-bed'), 'elements/distinct-elements')); }); }); - - describe('distinct CardCvvElement', async function () { - it('matches CardCvvElement baseline', async function () { - await createElement(ELEMENT_TYPES.CardCvvElement, { style: { fontFamily: 'Pacifico' } }); - await fillCvvElement(); - await clickFirstName(); - - assertVisualRegressionThreshold(await browser.checkElement(await $('.test-bed'), 'elements/cvv-element')); - }); - }); }); const hostedFieldOpts = { fields: { all: { style: { fontFamily: 'Pacifico' } } } }; @@ -78,17 +68,6 @@ maybeDescribe('Display', () => { assertVisualRegressionThreshold(await browser.checkElement(await $('.test-bed'), 'hosted-fields/distinct-fields')); }); }); - - describe('when using a cvv Hosted Field', async function () { - beforeEach(init({ fixture: 'hosted-fields-cvv', opts: hostedFieldOpts })); - - it('matches cvv Hosted Field baseline', async function () { - await fillCvvElement(); - await clickFirstName(); - - assertVisualRegressionThreshold(await browser.checkElement(await $('.test-bed'), 'hosted-fields/cvv')); - }); - }); }); function assertVisualRegressionThreshold (diff, threshold = 0.05) { diff --git a/test/e2e/support/snapshots/desktop_chrome/Chrome-Remote/elements/cvv-element-1200x1013.png b/test/e2e/support/snapshots/desktop_chrome/Chrome-Remote/elements/cvv-element-1200x1013.png deleted file mode 100644 index 3de90b0b2..000000000 Binary files a/test/e2e/support/snapshots/desktop_chrome/Chrome-Remote/elements/cvv-element-1200x1013.png and /dev/null differ diff --git a/test/e2e/support/snapshots/desktop_chrome/Chrome-Remote/hosted-fields/cvv-1200x1013.png b/test/e2e/support/snapshots/desktop_chrome/Chrome-Remote/hosted-fields/cvv-1200x1013.png deleted file mode 100644 index ad1f0e5f2..000000000 Binary files a/test/e2e/support/snapshots/desktop_chrome/Chrome-Remote/hosted-fields/cvv-1200x1013.png and /dev/null differ diff --git a/test/e2e/support/snapshots/desktop_edge/Edge-Remote/elements/cvv-element-945x1020.png b/test/e2e/support/snapshots/desktop_edge/Edge-Remote/elements/cvv-element-945x1020.png deleted file mode 100644 index c8fc59976..000000000 Binary files a/test/e2e/support/snapshots/desktop_edge/Edge-Remote/elements/cvv-element-945x1020.png and /dev/null differ diff --git a/test/e2e/support/snapshots/desktop_edge/Edge-Remote/hosted-fields/cvv-945x1020.png b/test/e2e/support/snapshots/desktop_edge/Edge-Remote/hosted-fields/cvv-945x1020.png deleted file mode 100644 index a215da628..000000000 Binary files a/test/e2e/support/snapshots/desktop_edge/Edge-Remote/hosted-fields/cvv-945x1020.png and /dev/null differ diff --git a/test/e2e/support/snapshots/desktop_firefox/Firefox-Remote/elements/cvv-element-1280x951.png b/test/e2e/support/snapshots/desktop_firefox/Firefox-Remote/elements/cvv-element-1280x951.png deleted file mode 100644 index 98f8e4e6d..000000000 Binary files a/test/e2e/support/snapshots/desktop_firefox/Firefox-Remote/elements/cvv-element-1280x951.png and /dev/null differ diff --git a/test/e2e/support/snapshots/desktop_firefox/Firefox-Remote/hosted-fields/cvv-1280x951.png b/test/e2e/support/snapshots/desktop_firefox/Firefox-Remote/hosted-fields/cvv-1280x951.png deleted file mode 100644 index 02397f92a..000000000 Binary files a/test/e2e/support/snapshots/desktop_firefox/Firefox-Remote/hosted-fields/cvv-1280x951.png and /dev/null differ diff --git a/test/e2e/support/snapshots/desktop_safari/Safari-Remote/elements/cvv-element-1324x940.png b/test/e2e/support/snapshots/desktop_safari/Safari-Remote/elements/cvv-element-1324x940.png deleted file mode 100644 index 2f96edcbb..000000000 Binary files a/test/e2e/support/snapshots/desktop_safari/Safari-Remote/elements/cvv-element-1324x940.png and /dev/null differ diff --git a/test/e2e/support/snapshots/desktop_safari/Safari-Remote/hosted-fields/cvv-1324x940.png b/test/e2e/support/snapshots/desktop_safari/Safari-Remote/hosted-fields/cvv-1324x940.png deleted file mode 100644 index ee23df5ba..000000000 Binary files a/test/e2e/support/snapshots/desktop_safari/Safari-Remote/hosted-fields/cvv-1324x940.png and /dev/null differ