feat: update titles for certification pages (#42252)
* feat: update titles for certification pages * fix: update titles in Cypress tests * fix: change "certificate" to "certification" in intro-page.js test file * fix: prevent adding "Certification" to title for interview prep, make variable name more clear * feat: add test for coding interview prep page title
This commit is contained in:
committed by
GitHub
parent
fa594cf7f5
commit
e82f5f4425
@ -17,7 +17,10 @@ describe('challenges/superblock redirect', function () {
|
||||
it('redirects to learn/superblock', () => {
|
||||
cy.visit(locations.chalSuper);
|
||||
|
||||
cy.title().should('eq', 'Responsive Web Design | freeCodeCamp.org');
|
||||
cy.title().should(
|
||||
'eq',
|
||||
'Responsive Web Design Certification | freeCodeCamp.org'
|
||||
);
|
||||
cy.location().should(loc => {
|
||||
expect(loc.pathname).to.eq(locations.learnSuper);
|
||||
});
|
||||
|
Reference in New Issue
Block a user