fix: update SEO on landing page (#40670)

This commit is contained in:
Ahmad Abdolsaheb
2021-01-15 17:39:59 +03:00
committed by GitHub
parent 42e6fa87c7
commit f2af1cd77e
10 changed files with 26 additions and 24 deletions

View File

@ -25,14 +25,14 @@ describe('Landing page', () => {
cy.visit('/');
cy.title().should(
'eq',
'Learn to Code for Free Coding Courses for Busy People'
'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);
});
it('Has visible header and sub-header', () => {
cy.contains(selectors.heading, 'Learn to code at home.');
cy.contains(selectors.heading, 'Learn to code — for free.');
cy.contains('Build projects.').should('be.visible');
cy.contains('Earn certifications.').should('be.visible');