docs: spelling changes in app.e2e-spec and validate-spec files (#41331)

PR Close #41331
This commit is contained in:
Marios Radis 2021-03-23 20:30:55 +02:00 committed by Joey Perrott
parent d8d77ed00d
commit cdbec67032
2 changed files with 2 additions and 2 deletions

View file

@ -144,7 +144,7 @@ describe('site App', () => {
it('should have contributors listed in each group', async () => {
// WebDriver calls `scrollIntoView()` on the element to bring it into the visible area of the
// browser, before clicking it. By default, this aligns the top of the element to the top of
// the window. As a result, the element may end up behing the fixed top menu, thus being
// the window. As a result, the element may end up behind the fixed top menu, thus being
// unclickable. To avoid this, we click the element directly using JavaScript instead.
const clickButton =
(elementFinder: ElementFinder) => browser.executeScript('arguments[0].click()', elementFinder);

View file

@ -63,7 +63,7 @@ describe('validate-commit-message.js', () => {
});
it('should skip max length limit for URLs', () => {
const msg = 'fix(compiler): this is just an usual commit message tile\n\n' +
const msg = 'fix(compiler): this is just a usual commit message title\n\n' +
'This is a normal commit message body which does not exceed the max length\n' +
'limit. For more details see the following super long URL:\n\n' +
'https://github.com/angular/components/commit/e2ace018ddfad10608e0e32932c43dcfef4095d7#diff-9879d6db96fd29134fc802214163b95a';