Skip to content

Commit

Permalink
Removed unecceaary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MGS-sails committed Jan 29, 2024
1 parent 25ed445 commit 91dcde6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cypress/e2e/megemenu.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import {
openPage,
} from '../util/util';
const origPage = '';

const megamenunavItems = [
{
id: 'submit-data-section',
Expand Down Expand Up @@ -51,7 +49,7 @@ const megamenunavItems = [
]
describe('MegaMenu Component', () => {
beforeEach(() => {
openPage(origPage);
openPage('');
});

it('should be able to access all links inside the MegaMenu', () => {
Expand All @@ -62,7 +60,6 @@ describe('MegaMenu Component', () => {
cy.get(`#${item.contentId} a[href="${link}"]`).should('be.visible');
});
}

});
});

Expand Down

0 comments on commit 91dcde6

Please sign in to comment.