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