From 6bd6185a294b949d5e13e4bf1a73bc4a2cfeba72 Mon Sep 17 00:00:00 2001 From: Matt Schile Date: Mon, 2 Dec 2024 10:00:39 -0700 Subject: [PATCH] test: remove duplicate add function (#30693) --- packages/driver/cypress/e2e/dom/visibility.cy.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/driver/cypress/e2e/dom/visibility.cy.ts b/packages/driver/cypress/e2e/dom/visibility.cy.ts index b27c17ddd294..50f7a86f7708 100644 --- a/packages/driver/cypress/e2e/dom/visibility.cy.ts +++ b/packages/driver/cypress/e2e/dom/visibility.cy.ts @@ -169,10 +169,6 @@ describe('src/cypress/dom/visibility', () => { }) }) - const add = (el) => { - return $(el).appendTo(cy.$$('body')) - } - context('hidden/visible overrides', () => { beforeEach(function () { // ensure all tests run against a scrollable window