feat: editor page title rework (#44246)

* fix: remove "learn" from title

* feat: translate title element
This commit is contained in:
Nicholas Carrigan (he/him)
2021-12-01 07:53:37 -08:00
committed by GitHub
parent 312b7afaf4
commit edf3185b2b
7 changed files with 16 additions and 18 deletions

View File

@ -43,7 +43,7 @@ describe('challenges/superblock/block/challenge redirect', function () {
cy.title().should(
'eq',
// eslint-disable-next-line max-len
'Learn Basic HTML and HTML5: Say Hello to HTML Elements | freeCodeCamp.org'
'Basic HTML and HTML5: Say Hello to HTML Elements | freeCodeCamp.org'
);
cy.location().should(loc => {
expect(loc.pathname).to.eq(locations.learnChallenge);