diff --git a/client/src/components/landing/index.js b/client/src/components/landing/index.js index e580dadfad..167909e28e 100644 --- a/client/src/components/landing/index.js +++ b/client/src/components/landing/index.js @@ -31,7 +31,7 @@ export const Landing = ({ page = 'landing' }) => { return ( - Learn to code at home | freeCodeCamp.org + Learn to Code for Free – Coding Courses for Busy People
diff --git a/client/src/pages/learn.js b/client/src/pages/learn.js index e2060e0254..ae0fd1f5a0 100644 --- a/client/src/pages/learn.js +++ b/client/src/pages/learn.js @@ -77,7 +77,7 @@ export const LearnPage = ({ const hashValue = hashValueSelector(state, hash); return ( - + { it('Should render', () => { cy.visit('/'); - cy.title().should('eq', 'Learn to code at home | freeCodeCamp.org'); + cy.title().should( + 'eq', + 'Learn to Code for Free – Coding Courses for Busy People' + ); cy.contains(selectors.callToAction, "Get started (it's free)"); cy.get(selectors.callToAction).should('have.length', 2); }); diff --git a/cypress/integration/learn/index.js b/cypress/integration/learn/index.js index dcfcd49517..58c032371a 100644 --- a/cypress/integration/learn/index.js +++ b/cypress/integration/learn/index.js @@ -26,7 +26,10 @@ describe('Learn Landing page (not logged in)', () => { it('Should render', () => { cy.visit(locations.index); - cy.title().should('eq', 'Learn to code at home | freeCodeCamp.org'); + cy.title().should( + 'eq', + 'Learn to Code for Free – Coding Courses for Busy People' + ); }); it('Has the correct heading for an unauthenticated User', () => {