Commit 2902cfce authored by Bryce Johnson's avatar Bryce Johnson

Test for correct icon string in linked pipeline.

parent a0c516cb
......@@ -49,6 +49,7 @@ describe('Linked pipeline', () => {
it('should render the pipeline status icon svg', () => {
const pipelineStatusElement = this.linkedPipeline.$el.querySelector('.linked-pipeline-status');
expect(pipelineStatusElement.querySelector('.ci-status-icon-running')).not.toBeNull();
expect(pipelineStatusElement.innerHTML).toContain('<svg');
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment