diff --git a/cypress/e2e/admin-add-new-modals.cy.ts b/cypress/e2e/admin-add-new-modals.cy.ts index 5c40f77ecab..e2ade53488f 100644 --- a/cypress/e2e/admin-add-new-modals.cy.ts +++ b/cypress/e2e/admin-add-new-modals.cy.ts @@ -9,6 +9,7 @@ describe('Admin Add New Modals', () => { it('Add new Community modal should pass accessibility tests', () => { // Pin the sidebar open + cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover'); cy.get('[data-test="sidebar-collapse-toggle"]').click(); // Click on entry of menu @@ -23,6 +24,7 @@ describe('Admin Add New Modals', () => { it('Add new Collection modal should pass accessibility tests', () => { // Pin the sidebar open + cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover'); cy.get('[data-test="sidebar-collapse-toggle"]').click(); // Click on entry of menu @@ -37,6 +39,7 @@ describe('Admin Add New Modals', () => { it('Add new Item modal should pass accessibility tests', () => { // Pin the sidebar open + cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover'); cy.get('[data-test="sidebar-collapse-toggle"]').click(); // Click on entry of menu diff --git a/cypress/e2e/admin-edit-modals.cy.ts b/cypress/e2e/admin-edit-modals.cy.ts index fd28a8247c4..d4e2438061e 100644 --- a/cypress/e2e/admin-edit-modals.cy.ts +++ b/cypress/e2e/admin-edit-modals.cy.ts @@ -9,6 +9,7 @@ describe('Admin Edit Modals', () => { it('Edit Community modal should pass accessibility tests', () => { // Pin the sidebar open + cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover'); cy.get('[data-test="sidebar-collapse-toggle"]').click(); // Click on entry of menu @@ -23,6 +24,7 @@ describe('Admin Edit Modals', () => { it('Edit Collection modal should pass accessibility tests', () => { // Pin the sidebar open + cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover'); cy.get('[data-test="sidebar-collapse-toggle"]').click(); // Click on entry of menu @@ -37,6 +39,7 @@ describe('Admin Edit Modals', () => { it('Edit Item modal should pass accessibility tests', () => { // Pin the sidebar open + cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover'); cy.get('[data-test="sidebar-collapse-toggle"]').click(); // Click on entry of menu diff --git a/cypress/e2e/admin-export-modals.cy.ts b/cypress/e2e/admin-export-modals.cy.ts index d0a48cac232..873d16535fe 100644 --- a/cypress/e2e/admin-export-modals.cy.ts +++ b/cypress/e2e/admin-export-modals.cy.ts @@ -9,6 +9,7 @@ describe('Admin Export Modals', () => { it('Export metadata modal should pass accessibility tests', () => { // Pin the sidebar open + cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover'); cy.get('[data-test="sidebar-collapse-toggle"]').click(); // Click on entry of menu @@ -23,6 +24,7 @@ describe('Admin Export Modals', () => { it('Export batch modal should pass accessibility tests', () => { // Pin the sidebar open + cy.get('[data-test="sidebar-collapse-toggle"]').trigger('mouseover'); cy.get('[data-test="sidebar-collapse-toggle"]').click(); // Click on entry of menu