feat: update title meta (#40362)

This commit is contained in:
Ahmad Abdolsaheb
2020-12-07 13:15:11 +03:00
committed by GitHub
parent bf0c49f9b4
commit 2959196b35
4 changed files with 10 additions and 4 deletions

View File

@ -23,7 +23,10 @@ const certifications = [
describe('Landing page', () => {
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);
});