From f4175f337269a438ec8f96d7d3f2bb8f3ab1b043 Mon Sep 17 00:00:00 2001 From: Ahmad Abdolsaheb Date: Sun, 26 Jan 2025 15:47:44 +0300 Subject: [PATCH] Update cypress/e2e/english/landing/i18n.cy.ts --- cypress/e2e/english/landing/i18n.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/english/landing/i18n.cy.ts b/cypress/e2e/english/landing/i18n.cy.ts index 214d309a..e6e87dd9 100644 --- a/cypress/e2e/english/landing/i18n.cy.ts +++ b/cypress/e2e/english/landing/i18n.cy.ts @@ -157,7 +157,7 @@ describe('Landing i18n (Hashnode sourced)', () => { .should('not.equal', 'footer.links.copyright') .should('have.attr', 'href') .should('equal', 'https://www.freecodecamp.org/news/copyright-policy/'); - cy.get("[data-test-label='powered-by'] span") + cy.get("span[data-test-label='powered-by']") .invoke('text') .should('equal', 'Publication powered by Hashnode'); });