diff --git a/cypress/src/components/Footer.js b/cypress/src/components/Footer.js index 7b9afb6..c725346 100644 --- a/cypress/src/components/Footer.js +++ b/cypress/src/components/Footer.js @@ -19,7 +19,7 @@ export default class Footer { expect(response.status).eq(404); } else { - console.log(`${Cypress.$(element).attr('href')}${response.status}`); + console.log(`${element.attr('href')}${response.status}`); } }); });