I folowed official documentation but i still get some errors regarding that some elements appear to be null.
//test
it('should welcome the user', () => {
fixture.detectChanges();
//constcontentel.textContent;
expect(el.textContent).toContain('Welcome', '"Welcome ..."');
expect(el.textContent).toContain('Test User', 'expected name');
});