feat: editor page title rework (#44246)
* fix: remove "learn" from title * feat: translate title element
This commit is contained in:
committed by
GitHub
parent
312b7afaf4
commit
edf3185b2b
@ -19,7 +19,7 @@ describe('Backend challenge', function () {
|
||||
|
||||
cy.title().should(
|
||||
'eq',
|
||||
'Managing Packages with Npm - How to Use package.json, the Core of Any' +
|
||||
'Managing Packages with NPM - How to Use package.json, the Core of Any' +
|
||||
' Node.js Project or npm Package | Learn | freeCodeCamp.org'
|
||||
);
|
||||
});
|
||||
|
@ -27,8 +27,7 @@ describe('Classic challenge', function () {
|
||||
it('renders the default output text', () => {
|
||||
cy.title().should(
|
||||
'eq',
|
||||
'Learn Basic HTML and HTML5: Say Hello to HTML Elements |' +
|
||||
' freeCodeCamp.org'
|
||||
'Basic HTML and HTML5: Say Hello to HTML Elements |' + ' freeCodeCamp.org'
|
||||
);
|
||||
cy.get(selectors.defaultOutput).contains(defaultOutput);
|
||||
});
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user