Skip to content
Snippets Groups Projects
Commit fe774ef6 authored by Winnie Hellmann's avatar Winnie Hellmann
Browse files

Add failing test for #29368

Former-commit-id: 8e4f717b
parent 46b8a2c6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -59,6 +59,13 @@ describe('Pipelines Table Row', () => {
).toEqual(pipeline.user.name);
});
});
it('should render commit author', () => {
const commitTitleElement = component.$el.querySelector('.branch-commit .commit-title');
const commitAuthorElement = commitTitleElement.querySelector('a.avatar-image-container');
expect(commitAuthorElement.getAttribute('href')).toEqual(pipeline.commit.author.web_url);
expect(commitAuthorElement.querySelector('img.avatar').getAttribute('title')).toEqual(pipeline.commit.author.username);
});
});
 
describe('commit column', () => {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment